summaryrefslogtreecommitdiff
path: root/pandora/pnd.h
diff options
context:
space:
mode:
authornotaz2011-09-04 20:02:19 +0300
committernotaz2011-09-06 00:18:01 +0300
commiteb3668fc5dab138073cd4844208ac05b94086a4a (patch)
tree78f8f4b762c262221114b5da4f4b493245c6ced6 /pandora/pnd.h
parent43c24b301dc8c0c5952e1d22bad865f4304d01f8 (diff)
downloadpicogpsp-eb3668fc5dab138073cd4844208ac05b94086a4a.tar.gz
picogpsp-eb3668fc5dab138073cd4844208ac05b94086a4a.tar.bz2
picogpsp-eb3668fc5dab138073cd4844208ac05b94086a4a.zip
initial pandora port, with hardware scaling and stuff
Diffstat (limited to 'pandora/pnd.h')
-rw-r--r--pandora/pnd.h12
1 files changed, 12 insertions, 0 deletions
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);