]> git.baikalelectronics.ru Git - kernel.git/commit
Input: synaptics - process finger (<=5) transitions
authorDaniel Kurtz <djkurtz@chromium.org>
Wed, 24 Aug 2011 06:02:56 +0000 (23:02 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Aug 2011 06:08:32 +0000 (23:08 -0700)
commit5ca4893a886745b77b55f6ac5f7bf3e0207f2111
treecefa2220d3e9dc8906390f2abec84cc48a9d5cb3
parent1c1902be7fb214b38eb18b40070a5a275d15b009
Input: synaptics - process finger (<=5) transitions

Synaptics image sensor touchpads track up to 5 fingers, but only report 2.
They use a special "TYPE=2" (AGM-CONTACT) packet type that reports
the number of tracked fingers and which finger is reported in the SGM
and AGM packets.

With this new packet type, it is possible to tell userspace when 4 or 5
fingers are touching.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Acked-by: Chase Douglas <chase.douglas@canonical.com>
Acked-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/synaptics.c