The "Home" key calls the wii menu instead of the "menu key

This commit is contained in:
Fabio Olimpieri 2017-04-30 23:49:38 +02:00
parent 02e416169c
commit 6a4d6ec9a4
2 changed files with 1 additions and 2 deletions

View File

@ -1540,7 +1540,7 @@ inline void read_keyboard () {
sprintf (ordenador.osd_text, " Volume: %d ",ordenador.volume); sprintf (ordenador.osd_text, " Volume: %d ",ordenador.volume);
ordenador.osd_time = 50; ordenador.osd_time = 50;
break; break;
case SDLK_MENU: //Call FBZX wii menu case SDLK_HOME: //Call FBZX wii menu
if (ordenador.vk_is_active) virtkey_ir_deactivate(); if (ordenador.vk_is_active) virtkey_ir_deactivate();
main_menu(); main_menu();
break; break;

View File

@ -1296,7 +1296,6 @@ uint32_t menu_wait_key_press(int *joy_n_p)
case SDLK_PAGEUP: case SDLK_PAGEUP:
keys |= KEY_PAGEUP; keys |= KEY_PAGEUP;
break; break;
case SDLK_HOME:
case SDLK_ESCAPE: case SDLK_ESCAPE:
keys |= KEY_ESCAPE; keys |= KEY_ESCAPE;
break; break;