[Solved] Getting simultaneous touch and mouse events in Qt/QML
Hello,
My app works great with either touchscreen or mouse, but not both. Is it possible to have both?
To run with a USB mouse:
- export QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mouse1
- ./myApp -qws
To run with touchscreen:
- export QWS_MOUSE_PROTO=tslib:/dev/input/event0
- ./myApp -qws
The docs say you can specity multiple devices with QWS_MOUSE_PROTO, but this does not work:
- export QWS_MOUSE_PROTO="tslib:/dev/input/event0
- IntelliMouse:/dev/input/mouse1"
- ./myApp -qws
Is there a way to make a mouse and touchscreen work at the same time?
Thanks,
Matt
1 reply
You must log in to post a reply. Not a member yet? Register here!


