summaryrefslogtreecommitdiff
path: root/pandora/pnd.h
blob: c7c8289a2485c0fbee0be2225d8ffae17ec7f306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
void gpsp_plat_init(void);
void gpsp_plat_quit(void);

u32 gpsp_plat_joystick_read(void);
u32 gpsp_plat_buttons_to_cursor(u32 buttons);

#define PLAT_BUTTON_COUNT 17
#define PLAT_MENU_BUTTON -1 // have one hardcoded
extern u32 button_plat_mask_to_config[PLAT_BUTTON_COUNT];

void *fb_flip_screen(void);
void fb_set_mode(int w, int h, int buffers, int scale,
	int filter, int filter2);
void fb_wait_vsync(void);