Staging: frontier: Make checkpatch.pl happy with alphatrack.h
[linux/fpc-iii.git] / drivers / staging / frontier / alphatrack.h
blob10a797263594fb4c0ad87a7116004595f3b6c091
1 struct alphatrack_icmd {
2 unsigned char cmd[12];
3 };
5 struct alphatrack_ocmd {
6 unsigned char cmd[8];
7 };
9 /* These are unused by the present driver but provide documentation for the
10 * userspace API.
12 enum LightID {
13 LIGHT_EQ = 0,
14 LIGHT_OUT,
15 LIGHT_F2,
16 LIGHT_SEND,
17 LIGHT_IN,
18 LIGHT_F1,
19 LIGHT_PAN,
20 LIGHT_UNDEF1,
21 LIGHT_UNDEF2,
22 LIGHT_SHIFT,
23 LIGHT_TRACKMUTE,
24 LIGHT_TRACKSOLO,
25 LIGHT_TRACKREC,
26 LIGHT_READ,
27 LIGHT_WRITE,
28 LIGHT_ANYSOLO,
29 LIGHT_AUTO,
30 LIGHT_F4,
31 LIGHT_RECORD,
32 LIGHT_WINDOW,
33 LIGHT_PLUGIN,
34 LIGHT_F3,
35 LIGHT_LOOP
38 #define BUTTONMASK_BATTERY 0x00004000
39 #define BUTTONMASK_BACKLIGHT 0x00008000
40 #define BUTTONMASK_FASTFORWARD 0x04000000
41 #define BUTTONMASK_TRACKMUTE 0x00040000
42 #define BUTTONMASK_TRACKSOLO 0x00800000
43 #define BUTTONMASK_TRACKLEFT 0x80000000
44 #define BUTTONMASK_RECORD 0x02000000
45 #define BUTTONMASK_SHIFT 0x20000000
46 #define BUTTONMASK_PUNCH 0x00800000
47 #define BUTTONMASK_TRACKRIGHT 0x00020000
48 #define BUTTONMASK_REWIND 0x01000000
49 #define BUTTONMASK_STOP 0x10000000
50 #define BUTTONMASK_LOOP 0x00010000
51 #define BUTTONMASK_TRACKREC 0x00001000
52 #define BUTTONMASK_PLAY 0x08000000
53 #define BUTTONMASK_TOUCH1 0x00000008
54 #define BUTTONMASK_TOUCH2 0x00000010
55 #define BUTTONMASK_TOUCH3 0x00000020
57 #define BUTTONMASK_PRESS1 0x00000009
58 #define BUTTONMASK_PRESS2 0x00008010
59 #define BUTTONMASK_PRESS3 0x00002020
61 /* last 3 bytes are the slider position
62 * 40 is the actual slider moving, the most sig bits, and 3 lsb
65 #define BUTTONMASK_FLIP 0x40000000
66 #define BUTTONMASK_F1 0x00100000
67 #define BUTTONMASK_F2 0x00400000
68 #define BUTTONMASK_F3 0x00200000
69 #define BUTTONMASK_F4 0x00080000
70 #define BUTTONMASK_PAN 0x00000200
71 #define BUTTONMASK_SEND 0x00000800
72 #define BUTTONMASK_EQ 0x00004000
73 #define BUTTONMASK_PLUGIN 0x00000400
74 #define BUTTONMASK_AUTO 0x00000100
76 /* #define BUTTONMASK_FOOTSWITCH FIXME */