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)
commit6b4b49fea15ea3034e22ad4ca85f23c000b88e92
treecefa2220d3e9dc8906390f2abec84cc48a9d5cb3
parentd5051272fc4860e056e34c92080369a1b63c9378
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