X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fgp2x.h;h=2e6b8eb716125aa0e1452e9999c8955ed8530c7e;hb=0dfe793b682b16d1d3f3d1973a9498adb0304b0f;hp=9218704d21867ad029460b18f159f5caafb1145d;hpb=43c24b301dc8c0c5952e1d22bad865f4304d01f8;p=gpsp.git diff --git a/gp2x/gp2x.h b/gp2x/gp2x.h index 9218704..2e6b8eb 100644 --- a/gp2x/gp2x.h +++ b/gp2x/gp2x.h @@ -33,7 +33,9 @@ void gpsp_plat_quit(void); u32 gpsp_plat_joystick_read(void); u32 gpsp_plat_buttons_to_cursor(u32 buttons); -extern u32 button_plat_mask_to_config[]; +#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); void gp2x_quit();