[PATCH xf86-input-synaptics v2 00/13] Move X touch handling to synaptics.c

Chase Douglas chase.douglas at canonical.com
Thu Feb 9 18:24:44 PST 2012


This new series incorporates all the changes mentioned on the mailing list:

01/13: SynapticsHwStateFree() takes a double pointer
02/13: Updated for double pointer free
03/13: Updated for double pointer free
04/13: Updated for double pointer free
06/13: No change
07/13: Make ternary explicit, split HwState touch allocation into function
08/13: Update for touch allocation function
09/13: Update for touch allocation function
10/13: No change
11/13: New
12/13: New
13/13: New

It is not possible to do filtering of touches when they don't match a synaptics
gesture without being able to specify the event timestamps. For example, imagine
you perform a two-touch tap, but you hold for too long. If we send the touch
events that made up the tap all at once, the tap would look instantaneous. I
don't want to even think of making a time-based queue to replay events... If the
xf86 API allowed for the input module to set the timestamp of events, it might
work, but the API is frozen and it would require a lot more thought to be sure.

The last three patches ensure we don't send touch events when any synaptics
gestures are possible.

This patch series is a prerequisite for clickpad support, so it's no longer an
RFC. It should be merged if there are no issues. It can be pulled from:

git://people.freedesktop.org/~cndougla/xf86-input-synaptics multitouch-synaptics

-- Chase


More information about the xorg-devel mailing list