From eb3668fc5dab138073cd4844208ac05b94086a4a Mon Sep 17 00:00:00 2001 From: notaz Date: Sun, 4 Sep 2011 20:02:19 +0300 Subject: initial pandora port, with hardware scaling and stuff --- pandora/pnd.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pandora/pnd.h (limited to 'pandora/pnd.h') diff --git a/pandora/pnd.h b/pandora/pnd.h new file mode 100644 index 0000000..2161756 --- /dev/null +++ b/pandora/pnd.h @@ -0,0 +1,12 @@ +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 +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); +void fb_wait_vsync(void); -- cgit v1.2.3