| 1 | |
| 2 | struct in_default_bind; |
| 3 | |
| 4 | void in_gp2x_init(const struct in_default_bind *defbinds); |
| 5 | |
| 6 | enum { GP2X_BTN_UP = 0, GP2X_BTN_LEFT = 2, GP2X_BTN_DOWN = 4, GP2X_BTN_RIGHT = 6, |
| 7 | GP2X_BTN_START = 8, GP2X_BTN_SELECT = 9, GP2X_BTN_L = 10, GP2X_BTN_R = 11, |
| 8 | GP2X_BTN_A = 12, GP2X_BTN_B = 13, GP2X_BTN_X = 14, GP2X_BTN_Y = 15, |
| 9 | GP2X_BTN_VOL_UP = 23, GP2X_BTN_VOL_DOWN = 22, GP2X_BTN_PUSH = 27 }; |
| 10 | |
| 11 | /* FIXME */ |
| 12 | #ifndef GP2X_DEV_GP2X |
| 13 | extern int gp2x_dev_id; |
| 14 | #define GP2X_DEV_GP2X 1 |
| 15 | #define GP2X_DEV_WIZ 2 |
| 16 | #define GP2X_DEV_CAANOO 3 |
| 17 | #endif |