avoid forced menu bind, some config refactoring
[gpsp.git] / pandora / pnd.h
1 void gpsp_plat_init(void);
2 void gpsp_plat_quit(void);
3
4 u32 gpsp_plat_joystick_read(void);
5 u32 gpsp_plat_buttons_to_cursor(u32 buttons);
6
7 #define PLAT_BUTTON_COUNT 17
8 #define PLAT_MENU_BUTTON -1 // have one hardcoded
9 extern u32 button_plat_mask_to_config[PLAT_BUTTON_COUNT];
10
11 void *fb_flip_screen(void);
12 void fb_set_mode(int w, int h, int buffers, int scale,
13         int filter, int filter2);
14 void fb_wait_vsync(void);