X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fmenu.c;h=eabd74ead80d83fbd43bd6dd570da208ac9977bf;hb=e99d80480196f551f7e6c06deae3750de19b4c0e;hp=9e53b25352e96860176fd12d184f8d234d87029f;hpb=b6072c177f57cdcb32cfd5eee53b7c178f89c5d3;p=libpicofe.git diff --git a/gp2x/menu.c b/gp2x/menu.c index 9e53b25..eabd74e 100644 --- a/gp2x/menu.c +++ b/gp2x/menu.c @@ -54,7 +54,7 @@ static void menu_main_plat_draw(void) // ------------ gfx options menu ------------ -static const char *mgn_aopt_gamma(menu_id id, int *offs) +static const char *mgn_aopt_gamma(int id, int *offs) { sprintf(static_buff, "%i.%02i", currentConfig.gamma / 100, currentConfig.gamma % 100); return static_buff; @@ -82,6 +82,7 @@ const char *men_scaling_opts[] = { "OFF", "software", "hardware", NULL }; static menu_entry e_menu_adv_options[]; static menu_entry e_menu_gfx_options[]; static menu_entry e_menu_options[]; +static menu_entry e_menu_keyconfig[]; void gp2x_menu_init(void) { @@ -120,5 +121,8 @@ void gp2x_menu_init(void) if (gp2x_dev_id != GP2X_DEV_GP2X) men_scaling_opts[2] = NULL; /* leave only off and sw */ + + if (gp2x_dev_id != GP2X_DEV_CAANOO) + me_enable(e_menu_keyconfig, MA_CTRL_DEADZONE, 0); }