e743be20 |
1 | #ifndef INCLUDE_c48097f3ff2a6a9af1cce8fd7a9b3f0c |
2 | #define INCLUDE_c48097f3ff2a6a9af1cce8fd7a9b3f0c 1 |
3 | |
636d5f25 |
4 | /* gamepad - MXYZ SACB RLDU */ |
5 | #define GBTN_UP 0 |
6 | #define GBTN_DOWN 1 |
7 | #define GBTN_LEFT 2 |
8 | #define GBTN_RIGHT 3 |
9 | #define GBTN_B 4 |
10 | #define GBTN_C 5 |
11 | #define GBTN_A 6 |
12 | #define GBTN_START 7 |
13 | #define GBTN_Z 8 |
14 | #define GBTN_Y 9 |
15 | #define GBTN_X 10 |
16 | #define GBTN_MODE 11 |
17 | |
e743be20 |
18 | /* ui events */ |
19 | #define PEVB_VOL_DOWN 30 |
20 | #define PEVB_VOL_UP 29 |
21 | #define PEVB_STATE_LOAD 28 |
22 | #define PEVB_STATE_SAVE 27 |
23 | #define PEVB_SWITCH_RND 26 |
24 | #define PEVB_SSLOT_PREV 25 |
25 | #define PEVB_SSLOT_NEXT 24 |
26 | #define PEVB_MENU 23 |
27 | #define PEVB_FF 22 |
28 | #define PEVB_PICO_PNEXT 21 |
29 | #define PEVB_PICO_PPREV 20 |
30 | #define PEVB_PICO_SWINP 19 |
31 | |
32 | #define PEV_VOL_DOWN (1 << PEVB_VOL_DOWN) |
33 | #define PEV_VOL_UP (1 << PEVB_VOL_UP) |
34 | #define PEV_STATE_LOAD (1 << PEVB_STATE_LOAD) |
35 | #define PEV_STATE_SAVE (1 << PEVB_STATE_SAVE) |
36 | #define PEV_SWITCH_RND (1 << PEVB_SWITCH_RND) |
37 | #define PEV_SSLOT_PREV (1 << PEVB_SSLOT_PREV) |
38 | #define PEV_SSLOT_NEXT (1 << PEVB_SSLOT_NEXT) |
39 | #define PEV_MENU (1 << PEVB_MENU) |
40 | #define PEV_FF (1 << PEVB_FF) |
41 | #define PEV_PICO_PNEXT (1 << PEVB_PICO_PNEXT) |
42 | #define PEV_PICO_PPREV (1 << PEVB_PICO_PPREV) |
43 | #define PEV_PICO_SWINP (1 << PEVB_PICO_SWINP) |
44 | |
45 | #define PEV_MASK 0x7ff80000 |
46 | |
47 | #endif /* INCLUDE_c48097f3ff2a6a9af1cce8fd7a9b3f0c */ |