]> 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)
commit00bfcb330d8bed552b8d8f2d51a31e19eabd1adc
treecefa2220d3e9dc8906390f2abec84cc48a9d5cb3
parent498df001b0bd730ce97acdc49c785e38ddf84788
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