10 GP2X_START = 1 << 8, // Wiz: Menu, Caanoo: I
11 GP2X_SELECT = 1 << 9, // Caanoo: II
19 GP2X_VOL_UP = 1 << 16,
20 GP2X_VOL_DOWN = 1 << 17,
22 #elif defined(POLLUX_BUILD)
25 GP2X_VOL_UP = 1 << 30, // dummy
26 GP2X_VOL_DOWN = 1 << 29,
28 GP2X_VOL_DOWN = 1 << 22,
29 GP2X_VOL_UP = 1 << 23,
32 GP2X_VOL_MIDDLE = (1 << 24), // fake, menu enter
35 void gpsp_plat_init(void);
36 void gpsp_plat_quit(void);
38 u32 gpsp_plat_joystick_read(void);
39 u32 gpsp_plat_buttons_to_cursor(u32 buttons);
41 #define PLAT_BUTTON_COUNT 16
42 #define PLAT_MENU_BUTTON 15
43 extern u32 button_plat_mask_to_config[PLAT_BUTTON_COUNT];
45 void gp2x_sound_volume(u32 volume_up);
48 void set_FCLK(u32 MHZ);
50 void upscale_aspect(u16 *dst, u16 *src);
53 extern void *gpsp_gp2x_screen;
54 void fb_use_buffers(int count);
55 void pollux_video_flip();
56 void wiz_lcd_set_portrait(int y);
57 u32 wiz_load_gamepak(char *name);
59 void do_rotated_blit(void *dst, void *linesx4, u32 y);
60 void upscale_aspect_row(void *dst, void *linesx3, u32 row);