Input: wacom - add 0xE5 (MT device) support
authorPing Cheng <pinglinux@gmail.com>
Mon, 30 Apr 2012 04:09:18 +0000 (21:09 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 30 Apr 2012 04:13:53 +0000 (21:13 -0700)
commit1963518b9b1b8019d33b4b08deee6f873ffa2730
tree5bcdd926950a9b75799232f7f5b6dd3d95905a7f
parentf393ee2b814e3291c12565000210b3cf10aa5c1d
Input: wacom - add 0xE5 (MT device) support

Main part of patch is adding support for a new Wacom MT touch
packet and labels these devices using MTSCREEN type.

Other items of interest:

Delete some duplicate code in HID parsing for Y info since
its already done in X path.

In wacom_query_tablet_data(), only invoke the set report
that requests tablets to send Wacom Touch packets for
Finger interfaces.  Mostly, this is to make code intent clear.

Tested-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/tablet/wacom.h
drivers/input/tablet/wacom_sys.c
drivers/input/tablet/wacom_wac.c
drivers/input/tablet/wacom_wac.h