X.org multitouch support
This video made by Benjamin Tissoires, Stephane Chatty and Gilles Tabart
from the Interactive Computing Lab at ENAC
demonstrates how Stephane's kernel drivers and Benjamin's patched X.org evdev
driver allow to use existing applications with multitouch displays.
You need:
How it works: Actually, most of the work is done by MPX. When loading the customized evdev driver, the multitouch device is recognized as a touchscreen.
By changing the property "Evdev MultiTouch", the user can control the number of contact points that are recognized. Thus the device only transfers the contact points to the newly created subdevices.
This property can easily be modified with "multitouchctl x", where 'x' has the following meaning:
- if x = 0, touchscreen emulation,
- if x > 0 it is the number of contact points recognized.
We splitted the creation of subdevices and cursors in order to be able to implement a gesture recognition in user-space (TODO).
To understand what is actually happening inside your server, the command "xinput" is very useful!
Context: This work was done as part of project ShareIT, a research project in which we collaborate with our good friends the multitouch hardware makers at Stantum, the multitouch software and interaction experts at IntuiLab and the aircraft cockpit designers at Thales Avionics to explore the use of multitouch user interfaces in cockpits. But no, there is no plan to use Linux in the cockpit, this is just for the lab's research :-)
Multitouch? Here is some more information about multitouch interaction, available devices, multitouch on Linux, etc.
Contact: chatty at enac.fr, tissoire at lii-enac.fr
Updated Feb 6, 2010.