X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=raspberrypi%2Frpi.h;fp=raspberrypi%2Frpi.h;h=536414d9efc580d33d60bd0d168eec9fb6844778;hb=ffa573f88020e4de9300a013721068672c923f33;hp=0000000000000000000000000000000000000000;hpb=6a298de4811066eb3cd2fadfd78970281ed30074;p=gpsp.git diff --git a/raspberrypi/rpi.h b/raspberrypi/rpi.h new file mode 100644 index 0000000..536414d --- /dev/null +++ b/raspberrypi/rpi.h @@ -0,0 +1,9 @@ +void gpsp_plat_init(void); +void gpsp_plat_quit(void); + +#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, int filter2); +void fb_wait_vsync(void);