Xpra: Ticket #1615: touch device support

Follow up from #1611, see also #173.

Most useful for the HTML5 client (support for precise wheel events added in #1797), which can listen for touch events, suppress the regular clicks and use the new API instead. We'll probably need to create a uinput touch device, udev rules, etc..

Platform support is going to be "interesting": Understanding touch events as every browser does something slightly different..

Mon, 07 Aug 2017 15:31:15 GMT - Antoine Martin: status, description changed

Fri, 30 Mar 2018 13:03:40 GMT - Antoine Martin:

Lots of support code and fixes (may backport some) in r18916, see commit message for details.


As for browser support, here are some tests: Touch/pointer tests and demos but my tablet isn't seen as a touch device by chrome..

Fri, 30 Mar 2018 13:50:32 GMT - Antoine Martin:

The "Xpra Virtual Touchpad" device is working and enabled as of r18918 (just needed to figure out the magic incantation for uinput) r18928 allows us to disable the "touchpad" and "pointer" virtual device initialization individually. We normalize the coordinates using the virtual screen size, maybe this should be using the client's screen size instead? Or some other reliable unit?


Sat, 31 Mar 2018 14:06:07 GMT - Antoine Martin: description changed

Sun, 22 Apr 2018 06:21:36 GMT - Antoine Martin: milestone changed

This needs more work, so r19051 disables the touchpad emulation by default, for now.

Sun, 22 Apr 2018 17:14:23 GMT - Antoine Martin: description changed

Wed, 16 May 2018 06:42:57 GMT - Antoine Martin:

See also Input Device Capabilities: This causes problems for developers when supporting both mouse and touch input. It's difficult to know if a mousedown event actually represents new input from a mouse, or is just a compatibility event for a previously-processed touchstart event. - probably doesn't apply to us since we preventDefault().

Tue, 11 Dec 2018 00:55:58 GMT - Antoine Martin:

See also #2073

Mon, 08 Jul 2019 16:28:23 GMT - Antoine Martin: milestone changed

Sat, 23 Jan 2021 05:29:11 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1615