X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fgp2x.h;h=9a72eae0ce8ad652fe5581ae64679fbf2e7e0d3e;hb=108c704a364e89d071c67f929a292f05d019236a;hp=97b8d3ca73542651ee45d40b85f332a31578ce36;hpb=eb3668fc5dab138073cd4844208ac05b94086a4a;p=gpsp.git diff --git a/gp2x/gp2x.h b/gp2x/gp2x.h index 97b8d3c..9a72eae 100644 --- a/gp2x/gp2x.h +++ b/gp2x/gp2x.h @@ -7,8 +7,8 @@ enum GP2X_LEFT = 1 << 2, GP2X_DOWN = 1 << 4, GP2X_RIGHT = 1 << 6, - GP2X_START = 1 << 8, - GP2X_SELECT = 1 << 9, + GP2X_START = 1 << 8, // Wiz: Menu, Caanoo: I + GP2X_SELECT = 1 << 9, // Caanoo: II GP2X_L = 1 << 10, GP2X_R = 1 << 11, GP2X_A = 1 << 12, @@ -19,6 +19,11 @@ enum GP2X_VOL_UP = 1 << 16, GP2X_VOL_DOWN = 1 << 17, GP2X_PUSH = 1 << 18, +#elif defined(POLLUX_BUILD) + GP2X_HOME = 1 << 16, + GP2X_PUSH = 1 << 17, + GP2X_VOL_UP = 1 << 30, // dummy + GP2X_VOL_DOWN = 1 << 29, #else GP2X_VOL_DOWN = 1 << 22, GP2X_VOL_UP = 1 << 23, @@ -34,6 +39,7 @@ u32 gpsp_plat_joystick_read(void); u32 gpsp_plat_buttons_to_cursor(u32 buttons); #define PLAT_BUTTON_COUNT 16 +#define PLAT_MENU_BUTTON 15 extern u32 button_plat_mask_to_config[PLAT_BUTTON_COUNT]; void gp2x_sound_volume(u32 volume_up);