aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/wacom_sys.c
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2012-11-03 15:16:15 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-11-08 12:12:46 -0500
commit6afdc289c984451a6202a687fe6af727e051a784 (patch)
treeacd038cdd5cfe752c446315bd0215e9ba65461da /drivers/input/tablet/wacom_sys.c
parent3699dd7e16a9f68586a44e1efeb9708359f9c2a6 (diff)
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,
397 features->pktlen = WACOM_PKGLEN_MTOUCH; 397 features->pktlen = WACOM_PKGLEN_MTOUCH;
398 break; 398 break;
399 399
400 case MTTPC:
401 features->pktlen = WACOM_PKGLEN_MTTPC;
402 break;
403
400 case BAMBOO_PT: 404 case BAMBOO_PT:
401 features->pktlen = WACOM_PKGLEN_BBTOUCH; 405 features->pktlen = WACOM_PKGLEN_BBTOUCH;
402 break; 406 break;
@@ -453,6 +457,7 @@ static int wacom_parse_hid(struct usb_interface *intf,
453 switch (features->type) { 457 switch (features->type) {
454 case TABLETPC2FG: 458 case TABLETPC2FG:
455 case MTSCREEN: 459 case MTSCREEN:
460 case MTTPC:
456 features->y_max = 461 features->y_max =
457 get_unaligned_le16(&report[i + 3]); 462 get_unaligned_le16(&report[i + 3]);
458 features->y_phy = 463 features->y_phy =