summaryrefslogtreecommitdiff
path: root/uisimulator/buttonmap/erosq.c
diff options
context:
space:
mode:
authorDana Conrad <dconrad@fastmail.com>2021-06-06 20:38:54 -0500
committerAidan MacDonald <amachronic@protonmail.com>2021-06-07 22:01:47 +0000
commit41ced369f6f3766d45da149cee2261a7e1321247 (patch)
tree1d381de3dc7cad02e8ffdedf12363da23bf27a6e /uisimulator/buttonmap/erosq.c
parent55c95a9cf53f78490926be9ae6643fb2e61f9572 (diff)
downloadrockbox-41ced369f6f3766d45da149cee2261a7e1321247.tar.gz
rockbox-41ced369f6f3766d45da149cee2261a7e1321247.zip
ErosQ Simulator: fix keymap
The eros q simulator keys have been weird for a while, found out why. Change-Id: Icb4209774448bc3c0d67dd87f802661cf12874b2
Diffstat (limited to 'uisimulator/buttonmap/erosq.c')
-rw-r--r--uisimulator/buttonmap/erosq.c2
1 files changed, 2 insertions, 0 deletions
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)
53 break; 53 break;
54 case SDLK_BACKSPACE: 54 case SDLK_BACKSPACE:
55 new_btn = BUTTON_BACK; 55 new_btn = BUTTON_BACK;
56 break;
56 case SDLK_KP_PERIOD: 57 case SDLK_KP_PERIOD:
57 case SDLK_INSERT: 58 case SDLK_INSERT:
58 new_btn = BUTTON_MENU; 59 new_btn = BUTTON_MENU;
@@ -70,6 +71,7 @@ int key_to_button(int keyboard_button)
70 case SDLK_KP_PLUS: 71 case SDLK_KP_PLUS:
71 case SDLK_PAGEDOWN: 72 case SDLK_PAGEDOWN:
72 new_btn = BUTTON_VOL_DOWN; 73 new_btn = BUTTON_VOL_DOWN;
74 break;
73 } 75 }
74 return new_btn; 76 return new_btn;
75} 77}