summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/wacom_sys.c
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2012-11-03 20:16:15 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-08 18:12:46 +0100
commit6afdc289c984451a6202a687fe6af727e051a784 (patch)
treeacd038cdd5cfe752c446315bd0215e9ba65461da /drivers/input/tablet/wacom_sys.c
parentInput: wacom - clean up device type code (diff)
downloadlinux-6afdc289c984451a6202a687fe6af727e051a784.tar.xz
linux-6afdc289c984451a6202a687fe6af727e051a784.zip
Input: wacom - add support for 2 new multi-touch tablets (0x100 and 0x101)
This adds support for the two new multi-touch tablets. Signed-off-by: Ping Cheng <pinglinux@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/tablet/wacom_sys.c')
-rw-r--r--drivers/input/tablet/wacom_sys.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c
index 67442f409174..f92d34f45a1c 100644
--- a/drivers/input/tablet/wacom_sys.c
+++ b/drivers/input/tablet/wacom_sys.c
@@ -397,6 +397,10 @@ static int wacom_parse_hid(struct usb_interface *intf,
features->pktlen = WACOM_PKGLEN_MTOUCH;
break;
+ case MTTPC:
+ features->pktlen = WACOM_PKGLEN_MTTPC;
+ break;
+
case BAMBOO_PT:
features->pktlen = WACOM_PKGLEN_BBTOUCH;
break;
@@ -453,6 +457,7 @@ static int wacom_parse_hid(struct usb_interface *intf,
switch (features->type) {
case TABLETPC2FG:
case MTSCREEN:
+ case MTTPC:
features->y_max =
get_unaligned_le16(&report[i + 3]);
features->y_phy =