USB: wacom tablet driver reorganization
[linux-2.6/linux-2.6-openrd.git] / drivers / usb / input / wacom_wac.h
blobceae7bf59d9f8b13a19c26403a5cf3661aa6e1cd
1 /*
2 * drivers/usb/input/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.
8 */
9 #ifndef WACOM_WAC_H
10 #define WACOM_WAC_H
12 #define STYLUS_DEVICE_ID 0x02
13 #define CURSOR_DEVICE_ID 0x06
14 #define ERASER_DEVICE_ID 0x0A
16 enum {
17 PENPARTNER = 0,
18 GRAPHIRE,
19 WACOM_G4,
20 PTU,
21 PL,
22 INTUOS,
23 INTUOS3,
24 INTUOS3L,
25 CINTIQ,
26 MAX_TYPE
29 struct wacom_features {
30 char *name;
31 int pktlen;
32 int x_max;
33 int y_max;
34 int pressure_max;
35 int distance_max;
36 int type;
37 usb_complete_t irq;
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;
48 #endif