redox-os / orbtk

The Rust UI-Toolkit.
MIT License
3.78k stars 190 forks source link

Multi-Touch and Gesture Support #118

Open millscale opened 4 years ago

millscale commented 4 years ago

Touch Screens needs Multi-Touch support and Gestures

There is a need to use gestures on touch screen platforms. Multi-Touch input is required for that.

Get Native Input Touch Data from platform

With the planned Android, iOS and Ubuntu Touch support, there is a need to register and record multiple touch events, so that gestures like pinch zoom, palm swipe etc can be used, platform appropriately. I am guessing this should also extend to touch screen desktop.

FloVanGH commented 4 years ago

Multi touch support is definitely a high priority feature for the mobile support.

millscale commented 4 years ago

From my research it seems that there is no way that we can avoid having to port a bunch of drivers, if we want complete support for Touch on Desktops as well, which is a pain.

This is list of Linux drivers for Touchscreen Devices.

It might be best/easiest to start with the Raspberry Pi Touchscreen port, I might be able to look at that in February.

I am guessing it will be easier on Android and iOS as the gesture recognition is supported natively.

The standard gestures of Ubuntu are listed here: https://wiki.ubuntu.com/Multitouch/

Ubuntu Touch might be different, I haven't been able to locate any info on it yet.