Go to the documentation of this file.
20 #ifndef __DC_MAPLE_CONTROLLER_H
21 #define __DC_MAPLE_CONTROLLER_H
23 #include <sys/cdefs.h>
38 #define CONT_START (1<<3)
39 #define CONT_DPAD_UP (1<<4)
40 #define CONT_DPAD_DOWN (1<<5)
41 #define CONT_DPAD_LEFT (1<<6)
42 #define CONT_DPAD_RIGHT (1<<7)
45 #define CONT_X (1<<10)
46 #define CONT_D (1<<11)
47 #define CONT_DPAD2_UP (1<<12)
48 #define CONT_DPAD2_DOWN (1<<13)
49 #define CONT_DPAD2_LEFT (1<<14)
50 #define CONT_DPAD2_RIGHT (1<<15)
115 void cont_shutdown();
146 #define CONT_CAPABILITY_C (1<<0)
147 #define CONT_CAPABILITY_B (1<<1)
148 #define CONT_CAPABILITY_A (1<<2)
149 #define CONT_CAPABILITY_START (1<<3)
150 #define CONT_CAPABILITY_DPAD_UP (1<<4)
151 #define CONT_CAPABILITY_DPAD_DOWN (1<<5)
152 #define CONT_CAPABILITY_DPAD_LEFT (1<<6)
153 #define CONT_CAPABILITY_DPAD_RIGHT (1<<7)
154 #define CONT_CAPABILITY_Z (1<<8)
155 #define CONT_CAPABILITY_Y (1<<9)
156 #define CONT_CAPABILITY_X (1<<10)
157 #define CONT_CAPABILITY_D (1<<11)
158 #define CONT_CAPABILITY_DPAD2_UP (1<<12)
159 #define CONT_CAPABILITY_DPAD2_DOWN (1<<13)
160 #define CONT_CAPABILITY_DPAD2_LEFT (1<<14)
161 #define CONT_CAPABILITY_DPAD2_RIGHT (1<<15)
162 #define CONT_CAPABILITY_RTRIG (1<<16)
163 #define CONT_CAPABILITY_LTRIG (1<<17)
164 #define CONT_CAPABILITY_ANALOG_X (1<<18)
165 #define CONT_CAPABILITY_ANALOG_Y (1<<19)
166 #define CONT_CAPABILITY_ANALOG2_X (1<<20)
167 #define CONT_CAPABILITY_ANALOG2_Y (1<<21)