Closed kde-yyds closed 1 year ago
In touchscreen mode touch events are deliverewd as is, termux-x11
is not responsible for handling events.
but this works on a computer with a physical touch screen
so maybe it's still an issue of termux-x11's touchscreen direct input
It's strange that this feature in qtwebengine works fine.
https://github.com/termux/termux-x11/assets/106876912/80968465-6d0d-48eb-98d3-28487ffe7ff6
so maybe it's still an issue of termux-x11's touchscreen direct input
I encountered the same issue.
Is there some tool to record mouse/touch events? I want to compare termux-x11 direct input and a touchscreen on a linux device.
I want to compare termux-X11 direct input and a touchscreen on a linux device.
@mio-19 mouse and touch events are different. The mouse is independent of the touchMode of X11, while Direct mode with fingers triggers the Touch-Screen Generic Events. A recording can be switched on via the Dev options of the Android settings. Here is a video of how to do it with a four finger tap-move-release gesture.
https://github.com/termux/termux-x11/assets/45426380/378480ba-9034-4f14-a360-8a5848cc92fb
To represent this by Termux-X11 (XServer), you need an XClient that can process these generic events. That could look so. You've a touchscreen on your linux device and obviously an XClient for comparison there. If you can install it in Termux, I would also be interested in it.
https://github.com/termux/termux-x11/assets/106876912/ab1bd7fe-9a22-4ea5-9994-0513acc8749a