2 * drivers/input/tablet/wacom_wac.h
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
12 /* maximum packet length for USB devices */
13 #define WACOM_PKGLEN_MAX 32
15 /* packet length for individual models */
16 #define WACOM_PKGLEN_PENPRTN 7
17 #define WACOM_PKGLEN_GRAPHIRE 8
18 #define WACOM_PKGLEN_BBFUN 9
19 #define WACOM_PKGLEN_INTUOS 10
20 #define WACOM_PKGLEN_TPC1FG 5
21 #define WACOM_PKGLEN_TPC2FG 14
24 #define STYLUS_DEVICE_ID 0x02
25 #define TOUCH_DEVICE_ID 0x03
26 #define CURSOR_DEVICE_ID 0x06
27 #define ERASER_DEVICE_ID 0x0A
28 #define PAD_DEVICE_ID 0x0F
30 /* wacom data packet report IDs */
31 #define WACOM_REPORT_PENABLED 2
32 #define WACOM_REPORT_INTUOSREAD 5
33 #define WACOM_REPORT_INTUOSWRITE 6
34 #define WACOM_REPORT_INTUOSPAD 12
35 #define WACOM_REPORT_TPC1FG 6
36 #define WACOM_REPORT_TPC2FG 13
59 struct wacom_features
{
71 unsigned char unitExpo
;
80 struct wacom_features features
;