X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fmenu.c;fp=gp2x%2Fmenu.c;h=b7f7b85b3310a65c096ff3248a40384e24292653;hb=902972d1c7f353aebb17a5ab587b2526e1a45d60;hp=9e53b25352e96860176fd12d184f8d234d87029f;hpb=e9b2926437ccf6b630cf79e00ed98f7934201c20;p=libpicofe.git diff --git a/gp2x/menu.c b/gp2x/menu.c index 9e53b25..b7f7b85 100644 --- a/gp2x/menu.c +++ b/gp2x/menu.c @@ -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); }