ErosQ Simulator: fix keymap

The eros q simulator keys have been weird for a while, found out why.

Change-Id: Icb4209774448bc3c0d67dd87f802661cf12874b2
This commit is contained in:
Dana Conrad 2021-06-06 20:38:54 -05:00 committed by Aidan MacDonald
parent 55c95a9cf5
commit 41ced369f6

View file

@ -53,6 +53,7 @@ int key_to_button(int keyboard_button)
break;
case SDLK_BACKSPACE:
new_btn = BUTTON_BACK;
break;
case SDLK_KP_PERIOD:
case SDLK_INSERT:
new_btn = BUTTON_MENU;
@ -70,6 +71,7 @@ int key_to_button(int keyboard_button)
case SDLK_KP_PLUS:
case SDLK_PAGEDOWN:
new_btn = BUTTON_VOL_DOWN;
break;
}
return new_btn;
}