- LinuxCNC
- General LinuxCNC Questions
- Enabling multi-touch (pinch-to-zoom) in QtDragon HD with Touchscreen
Enabling multi-touch (pinch-to-zoom) in QtDragon HD with Touchscreen
- Ferra
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
23 Feb 2026 22:01 #343371
by Ferra
Enabling multi-touch (pinch-to-zoom) in QtDragon HD with Touchscreen was created by Ferra
Hello everyone,I hope this is not a trivial question — I am still learning the Linux input stack and QtVCP internals, so please excuse any misunderstanding on my side.I am running LinuxCNC with QtDragon HD (QtVCP) on Debian RT.
My touchscreen hardware supports 15-point multi-touch (confirmed on Windows).
On Linux, the device is detected as.What I would like to achieve is:
My touchscreen hardware supports 15-point multi-touch (confirmed on Windows).
On Linux, the device is detected as
wch.cn TouchScreen- Two-finger pinch for zoom in the 3D preview
- Possibly two-finger rotation/pan gestures
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 21407
- Thank you received: 7298
24 Feb 2026 03:55 - 24 Feb 2026 04:05 #343376
by tommylight
Replied by tommylight on topic Enabling multi-touch (pinch-to-zoom) in QtDragon HD with Touchscreen
Either way, it is a Linux thing to recognize multiple fingers if your monitor supports it, so might be better to look in the Debian forums.
Last edit: 24 Feb 2026 04:05 by tommylight.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
Less
More
- Posts: 1263
- Thank you received: 442
24 Feb 2026 06:01 #343381
by Hakan
Replied by Hakan on topic Enabling multi-touch (pinch-to-zoom) in QtDragon HD with Touchscreen
The OS support for multitouch is there, or can be enabled.
What about qtdragon? Does it know how to handle multitouch events or geastures?
What about qtdragon? Does it know how to handle multitouch events or geastures?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7292
- Thank you received: 2128
24 Feb 2026 14:45 #343400
by cmorley
Replied by cmorley on topic Enabling multi-touch (pinch-to-zoom) in QtDragon HD with Touchscreen
Qtvcp does not know about multitouch.
I don't have a multitouch to test with and QtPy5 had very little examples the last time I looked.
If you would like to try...
Somewhere around here is where you would add the code:
github.com/LinuxCNC/linuxcnc/blob/master...mlin/qt5_graphics.py
I don't have a multitouch to test with and QtPy5 had very little examples the last time I looked.
If you would like to try...
Somewhere around here is where you would add the code:
github.com/LinuxCNC/linuxcnc/blob/master...mlin/qt5_graphics.py
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 21407
- Thank you received: 7298
24 Feb 2026 16:06 #343406
by tommylight
Replied by tommylight on topic Enabling multi-touch (pinch-to-zoom) in QtDragon HD with Touchscreen
Does QtVCP zoom with mouse wheel?
Multitouch should at least emulate mouse buttons and wheel, but i never tried it... there is something for Linux enabling multitouch but i forgot the name, comes preinstalled with System 76 laptops and their Linux distro, see if you can find any info about it. I did test it on a touchscreen laptop quite a while back and pinch to zoom worked for most stuff, i do not recall testing LinuxCNC with it.
Multitouch should at least emulate mouse buttons and wheel, but i never tried it... there is something for Linux enabling multitouch but i forgot the name, comes preinstalled with System 76 laptops and their Linux distro, see if you can find any info about it. I did test it on a touchscreen laptop quite a while back and pinch to zoom worked for most stuff, i do not recall testing LinuxCNC with it.
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- Enabling multi-touch (pinch-to-zoom) in QtDragon HD with Touchscreen
Time to create page: 0.126 seconds