1 struct alphatrack_icmd {
5 struct alphatrack_ocmd {
9 /* These are unused by the present driver but provide documentation for the
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 */