Pressed and release on capacitive touch screen
-
Hi!
I've implemented a button with the pressed and released function, when I try it on my PC (desktop) with the left mouse button i dont have any problem; but when I load my application on a monitor with capacitive touch screen it doesn't get the pressed/released action but it gets the right click drop-down menu. Is there a way to change the setting, that if i pressed without release it gets the left click (as on my Desktop PC) and not the right one? Is something that I have to add in my code or a Windows setting to be changed?
I've already tried this two tutorial (first & second) but didnt get what I was looking forThanks to anyone who could help me!
-
Hi
Often the touch controller comes with a settings app that allows you to control if long press means right click and such things. Also often you can turn on mouse emulation and then your buttons should work just like with a mouse.The actual app depends on what vendor the touch controller is from.
-
Do you see this problem even for a short duration press (release follows soon after press) or only for longer hold duration? The underlying window manager may create a request for the context menu if a press is not followed by a release within a given time.
Does a "normal" QPushButton behave as expected? -
Do you see this problem even for a short duration press (release follows soon after press) or only for longer hold duration? The underlying window manager may create a request for the context menu if a press is not followed by a release within a given time.
Does a "normal" QPushButton behave as expected?Does a "normal" QPushButton behave as expected?
Yes, I dont have any problem with that. I also have toggle button, works just fine.
Do you see this problem even for a short duration press (release follows soon after press)
No, with short duration nothing happen, but even so i need to get the long pressed beacuse basically something move while I keep press and stop when I remove the finger
-
Hi
Often the touch controller comes with a settings app that allows you to control if long press means right click and such things. Also often you can turn on mouse emulation and then your buttons should work just like with a mouse.The actual app depends on what vendor the touch controller is from.
Often the touch controller comes with a settings app that allows you to control if long press means right click and such things
But actually, as this tutorial shows and i try it, even windows has it but it's very restrictive. I'm gonna try something like this.
Your answer make me thinks maybe to install a macro. Could it be a solution?