]> git.baikalelectronics.ru Git - kernel.git/commit
HID: hid-ntrig: multitouch cleanup and fix
authorRafi Rubin <rafi@seas.upenn.edu>
Sat, 13 Feb 2010 02:13:05 +0000 (21:13 -0500)
committerJiri Kosina <jkosina@suse.cz>
Tue, 16 Feb 2010 12:54:23 +0000 (13:54 +0100)
commitf7286b90c43ccc6ab989eebfef9d62465871d48f
tree26da975937205a3939557cac0cffc735450eb058
parentbdbf12e7eb92e7addbb769d3d195a01d878e12e5
HID: hid-ntrig: multitouch cleanup and fix

This cleans up the identification of multitouch groups and enables
the end of group sync.

Taps are now explicitly handled to adjust for the changes in the
event stream in multitouch mode.  Added triple and quad tap for the
benefit of tools that recognize different tap types but do not have
full multi touch support.

This cleans up the behavior particularly for the latest firmware, which
didn't work particularly well with the older version of the driver.

In this form, when multitouch is active, both mt and st events will come out of
the "N-Trig MultiTouch" device.  And when its not st events will come out of
"N-Trig Touchscreen".

Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ntrig.c