Input: wacom_w8001 - add multitouch slot support
authorPeter Hutterer <peter.hutterer@who-t.net>
Sun, 29 Aug 2010 05:00:47 +0000 (22:00 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 29 Aug 2010 05:46:14 +0000 (22:46 -0700)
commit5e8b9140f306ce30e7c56c568198720514efc872
treeff2389c6ac6c049d5bd51d00c439326cd86f6103
parentaaba933eeb8d7f804508bc74baa58656240107f8
Input: wacom_w8001 - add multitouch slot support

Some serial wacom devices support two-finger touch. Test for this during
init and parse the touch packets accordingly. Touch packets are
processed using Protocol B (MT Slots).

Note: there are several wacom versions that do touch but not two-finger
touch. These are not catered for here, touch events for these are simply
discarded.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/wacom_w8001.c