Multitouch

Differences between revisions 3 and 4
Revision 3 as of 2010-03-10 10:20:52
Size: 2055
Editor: pool-74-107-129-37
Comment:
Revision 4 as of 2010-03-10 12:04:59
Size: 2300
Editor: apw
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
 * '''Launchpad Entry''': UbuntuSpec:desktop-lucid-xorg-multitouch
 * '''Created''':
 * '''Contributors''':
 * '''Packages affected''':
Line 19: Line 24:
=== Tasks === === Tasks Xorg ===
Line 23: Line 28:

=== Tasks Kernel ===
 * [apw] investigate kernel driver requirements for multi-touch support

We'd like to ensure that Lucid works with the current generation of touch screens.

The intended stack would be (upside down):

  • kernel driver (mine or others)
  • /dev/input/eventX
  • X.org evdev driver (the one patched by Benjamin, for instance)

  • X.org MPX/XInput2 API
  • multitouchd daemon
  • Qt or GTK+ or other

The current status of the above stack is "multi-pointer only", that is multi-touch without any gesture recognition. There have been debates as to where to put gesture recognition in the stack. Very few people have worked on multitouch gestures.

Multitouch in X is currently limited by the lack of multitouch events in the protocol. Benjamin's patch is a way around it to get multitouch-like features through a multipointer system. Upstream (Peter Hutterer) has indicated a preference to seeing this done via a single-pointer, because then clients would need to deal with a single touch event, instead of one event for each finger. But there are pros and cons to each approach and it's not clear there is yet a consensus about this. See discussion on xorg-devel@ for more background.

Benjamin's patch makes some simplifying assumptions that may not address the full spectrum of possible multi-touch use cases. For instance, multi-user collaboration using inputs from multiple hands going to multiple windows that support both multi-pointer and multi-touch awareness. It is likely some significant API redesign beyond Benjamin's proposed patch would be needed to address all possible cases. Thus, clients which implement support on top of Benjamin's patch would likely need reimplementation for what eventually is officially adopted by upstream.

Tasks Xorg

Tasks Kernel

  • [apw] investigate kernel driver requirements for multi-touch support

X/Blueprints/Multitouch (last edited 2010-03-22 23:54:32 by rafi-seas)