]>
Commit | Line | Data |
---|---|---|
3bea733a PC |
1 | /* |
2 | * drivers/usb/input/wacom_wac.h | |
3 | * | |
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. | |
8 | */ | |
9 | #ifndef WACOM_WAC_H | |
10 | #define WACOM_WAC_H | |
11 | ||
12 | #define STYLUS_DEVICE_ID 0x02 | |
13 | #define CURSOR_DEVICE_ID 0x06 | |
14 | #define ERASER_DEVICE_ID 0x0A | |
15 | ||
16 | enum { | |
17 | PENPARTNER = 0, | |
18 | GRAPHIRE, | |
19 | WACOM_G4, | |
20 | PTU, | |
21 | PL, | |
22 | INTUOS, | |
8d32e3ae | 23 | INTUOS3S, |
3bea733a PC |
24 | INTUOS3, |
25 | INTUOS3L, | |
26 | CINTIQ, | |
27 | MAX_TYPE | |
28 | }; | |
29 | ||
30 | struct wacom_features { | |
31 | char *name; | |
32 | int pktlen; | |
33 | int x_max; | |
34 | int y_max; | |
35 | int pressure_max; | |
36 | int distance_max; | |
37 | int type; | |
3bea733a PC |
38 | }; |
39 | ||
40 | struct wacom_wac { | |
41 | signed char *data; | |
42 | int tool[2]; | |
43 | int id[2]; | |
44 | __u32 serial[2]; | |
45 | struct wacom_features *features; | |
46 | }; | |
47 | ||
48 | #endif |