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 extern u32 button_plat_mask_to_config[PLAT_BUTTON_COUNT];
39 void gp2x_sound_volume(u32 volume_up);
42 void set_FCLK(u32 MHZ);
44 void upscale_aspect(u16 *dst, u16 *src);
47 extern void *gpsp_gp2x_screen;
48 void fb_use_buffers(int count);
49 void pollux_video_flip();
50 void wiz_lcd_set_portrait(int y);
51 u32 wiz_load_gamepak(char *name);
53 void do_rotated_blit(void *dst, void *linesx4, u32 y);
54 void upscale_aspect_row(void *dst, void *linesx3, u32 row);