19 GP2X_VOL_UP = 1 << 16,
20 GP2X_VOL_DOWN = 1 << 17,
23 GP2X_VOL_DOWN = 1 << 22,
24 GP2X_VOL_UP = 1 << 23,
27 GP2X_VOL_MIDDLE = (1 << 24), // fake, menu enter
30 void gpsp_plat_init(void);
31 void gpsp_plat_quit(void);
33 u32 gpsp_plat_joystick_read(void);
34 u32 gpsp_plat_buttons_to_cursor(u32 buttons);
36 #define PLAT_BUTTON_COUNT 16
37 #define PLAT_MENU_BUTTON 15
38 extern u32 button_plat_mask_to_config[PLAT_BUTTON_COUNT];
40 void gp2x_sound_volume(u32 volume_up);
43 void set_FCLK(u32 MHZ);
45 void upscale_aspect(u16 *dst, u16 *src);
48 extern void *gpsp_gp2x_screen;
49 void fb_use_buffers(int count);
50 void pollux_video_flip();
51 void wiz_lcd_set_portrait(int y);
52 u32 wiz_load_gamepak(char *name);
54 void do_rotated_blit(void *dst, void *linesx4, u32 y);
55 void upscale_aspect_row(void *dst, void *linesx3, u32 row);