blob: a1d9ce007970b12084c78c81e51cd0551541d3d1 [file] [log] [blame]
Ping Cheng3bea7332006-07-13 18:01:36 -07001/*
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
16enum {
17 PENPARTNER = 0,
18 GRAPHIRE,
19 WACOM_G4,
20 PTU,
21 PL,
22 INTUOS,
Ping Cheng8d32e3a2006-09-26 13:34:47 -070023 INTUOS3S,
Ping Cheng3bea7332006-07-13 18:01:36 -070024 INTUOS3,
25 INTUOS3L,
26 CINTIQ,
27 MAX_TYPE
28};
29
30struct 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;
Ping Cheng3bea7332006-07-13 18:01:36 -070038};
39
40struct 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