e5f426aa |
1 | extern void *giz_screen; |
2 | |
3 | void giz_init(); |
4 | void giz_deinit(void); |
5 | void lprintf_al(const char *fmt, ...); |
6 | |
7 | #define lprintf lprintf_al |
8 | |
9 | // button mappings, include kgsdk/Framework.h to use |
10 | #define BTN_LEFT (1 << FRAMEWORK_BUTTON_DPAD_LEFT) |
11 | #define BTN_RIGHT (1 << FRAMEWORK_BUTTON_DPAD_RIGHT) |
12 | #define BTN_UP (1 << FRAMEWORK_BUTTON_DPAD_UP) |
13 | #define BTN_DOWN (1 << FRAMEWORK_BUTTON_DPAD_DOWN) |
14 | #define BTN_STOP (1 << FRAMEWORK_BUTTON_STOP) |
15 | #define BTN_PLAY (1 << FRAMEWORK_BUTTON_PLAY) |
16 | #define BTN_FWD (1 << FRAMEWORK_BUTTON_FORWARD) |
17 | #define BTN_REW (1 << FRAMEWORK_BUTTON_REWIND) |
18 | #define BTN_L (1 << FRAMEWORK_BUTTON_LEFT_SHOULDER) |
19 | #define BTN_R (1 << FRAMEWORK_BUTTON_RIGHT_SHOULDER) |
e5f426aa |
20 | |
9839d126 |
21 | #define BTN_HOME (1 << FRAMEWORK_BUTTON_HOME) |
22 | #define BTN_VOLUME (1 << FRAMEWORK_BUTTON_VOLUME) |
23 | #define BTN_BRIGHTNESS (1 << FRAMEWORK_BUTTON_BRIGHTNESS) |
24 | #define BTN_ALARM (1 << FRAMEWORK_BUTTON_ALARM) |
25 | #define BTN_POWER (1 << FRAMEWORK_BUTTON_POWER) |
e5f426aa |
26 | |