From 41ced369f6f3766d45da149cee2261a7e1321247 Mon Sep 17 00:00:00 2001 From: Dana Conrad Date: Sun, 6 Jun 2021 20:38:54 -0500 Subject: [PATCH] ErosQ Simulator: fix keymap The eros q simulator keys have been weird for a while, found out why. Change-Id: Icb4209774448bc3c0d67dd87f802661cf12874b2 --- uisimulator/buttonmap/erosq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uisimulator/buttonmap/erosq.c b/uisimulator/buttonmap/erosq.c index 3471b864ca..2bada09460 100644 --- a/uisimulator/buttonmap/erosq.c +++ b/uisimulator/buttonmap/erosq.c @@ -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; }