X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fgp2x.h;fp=gp2x%2Fgp2x.h;h=9218704d21867ad029460b18f159f5caafb1145d;hb=43c24b301dc8c0c5952e1d22bad865f4304d01f8;hp=ab8dd4c6ebfc3fe351359da56ca17f0673fd22cc;hpb=2455b6a30e7d58cddfa7f196c4553e008996d46a;p=gpsp.git diff --git a/gp2x/gp2x.h b/gp2x/gp2x.h index ab8dd4c..9218704 100644 --- a/gp2x/gp2x.h +++ b/gp2x/gp2x.h @@ -24,11 +24,16 @@ enum GP2X_VOL_UP = 1 << 23, GP2X_PUSH = 1 << 27, #endif + GP2X_VOL_MIDDLE = (1 << 24), // fake, menu enter }; +void gpsp_plat_init(void); +void gpsp_plat_quit(void); -extern u32 gpsp_gp2x_dev_audio; -extern u32 gpsp_gp2x_dev; +u32 gpsp_plat_joystick_read(void); +u32 gpsp_plat_buttons_to_cursor(u32 buttons); + +extern u32 button_plat_mask_to_config[]; void gp2x_sound_volume(u32 volume_up); void gp2x_quit();