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