diff options
author | Ping Cheng <pinglinux@gmail.com> | 2014-01-20 23:18:04 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-01-20 23:36:57 -0500 |
commit | 497ab1f290a26fa9414c5c316515f1e2ddba0803 (patch) | |
tree | ca82bc46cc8da06167edabd50a8d911592a9398a /drivers/input/tablet/wacom_wac.h | |
parent | 713481620b60cb311486cac3c38b1185dec31f5d (diff) |
Input: wacom - add support for DTU-1031
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/tablet/wacom_wac.h')
-rw-r--r-- | drivers/input/tablet/wacom_wac.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/input/tablet/wacom_wac.h b/drivers/input/tablet/wacom_wac.h index 3600cf705fb1..f69c0ebe7fa9 100644 --- a/drivers/input/tablet/wacom_wac.h +++ b/drivers/input/tablet/wacom_wac.h | |||
@@ -12,7 +12,7 @@ | |||
12 | #include <linux/types.h> | 12 | #include <linux/types.h> |
13 | 13 | ||
14 | /* maximum packet length for USB devices */ | 14 | /* maximum packet length for USB devices */ |
15 | #define WACOM_PKGLEN_MAX 64 | 15 | #define WACOM_PKGLEN_MAX 68 |
16 | 16 | ||
17 | #define WACOM_NAME_MAX 64 | 17 | #define WACOM_NAME_MAX 64 |
18 | 18 | ||
@@ -29,6 +29,7 @@ | |||
29 | #define WACOM_PKGLEN_WIRELESS 32 | 29 | #define WACOM_PKGLEN_WIRELESS 32 |
30 | #define WACOM_PKGLEN_MTOUCH 62 | 30 | #define WACOM_PKGLEN_MTOUCH 62 |
31 | #define WACOM_PKGLEN_MTTPC 40 | 31 | #define WACOM_PKGLEN_MTTPC 40 |
32 | #define WACOM_PKGLEN_DTUS 68 | ||
32 | 33 | ||
33 | /* wacom data size per MT contact */ | 34 | /* wacom data size per MT contact */ |
34 | #define WACOM_BYTES_PER_MT_PACKET 11 | 35 | #define WACOM_BYTES_PER_MT_PACKET 11 |
@@ -47,11 +48,13 @@ | |||
47 | #define WACOM_REPORT_INTUOSWRITE 6 | 48 | #define WACOM_REPORT_INTUOSWRITE 6 |
48 | #define WACOM_REPORT_INTUOSPAD 12 | 49 | #define WACOM_REPORT_INTUOSPAD 12 |
49 | #define WACOM_REPORT_INTUOS5PAD 3 | 50 | #define WACOM_REPORT_INTUOS5PAD 3 |
51 | #define WACOM_REPORT_DTUSPAD 21 | ||
50 | #define WACOM_REPORT_TPC1FG 6 | 52 | #define WACOM_REPORT_TPC1FG 6 |
51 | #define WACOM_REPORT_TPC2FG 13 | 53 | #define WACOM_REPORT_TPC2FG 13 |
52 | #define WACOM_REPORT_TPCMT 13 | 54 | #define WACOM_REPORT_TPCMT 13 |
53 | #define WACOM_REPORT_TPCHID 15 | 55 | #define WACOM_REPORT_TPCHID 15 |
54 | #define WACOM_REPORT_TPCST 16 | 56 | #define WACOM_REPORT_TPCST 16 |
57 | #define WACOM_REPORT_DTUS 17 | ||
55 | #define WACOM_REPORT_TPC1FGE 18 | 58 | #define WACOM_REPORT_TPC1FGE 18 |
56 | #define WACOM_REPORT_24HDT 1 | 59 | #define WACOM_REPORT_24HDT 1 |
57 | #define WACOM_REPORT_WL 128 | 60 | #define WACOM_REPORT_WL 128 |
@@ -70,6 +73,7 @@ enum { | |||
70 | PTU, | 73 | PTU, |
71 | PL, | 74 | PL, |
72 | DTU, | 75 | DTU, |
76 | DTUS, | ||
73 | INTUOS, | 77 | INTUOS, |
74 | INTUOS3S, | 78 | INTUOS3S, |
75 | INTUOS3, | 79 | INTUOS3, |