summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2021-11-12 19:50:52 +0000
committerAidan MacDonald <amachronic@protonmail.com>2021-11-12 19:51:23 +0000
commitee27ba416feaa9e0efe67981021338f6516258b7 (patch)
tree3ae9c1776c6ffeabb7aebdc728d8508e53dc3261
parentfbf83dc4ce939c06808c874d6ac1cc3926fedd50 (diff)
downloadrockbox-ee27ba416f.tar.gz
rockbox-ee27ba416f.zip
uisimulator: add keyboard mappings for M3K scrollstrip
Change-Id: I2e6d5464fac6d9e1e292b17f5c1bbf646c1555de
-rw-r--r--uisimulator/buttonmap/fiio-m3k.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uisimulator/buttonmap/fiio-m3k.c b/uisimulator/buttonmap/fiio-m3k.c
index 30d1550ca3..82a2ab0bb5 100644
--- a/uisimulator/buttonmap/fiio-m3k.c
+++ b/uisimulator/buttonmap/fiio-m3k.c
@@ -61,9 +61,11 @@ int key_to_button(int keyboard_button)
new_btn = BUTTON_MENU;
break;
case SDL_BUTTON_WHEELUP:
+ case SDLK_PAGEUP:
new_btn = BUTTON_SCROLL_BACK;
break;
case SDL_BUTTON_WHEELDOWN:
+ case SDLK_PAGEDOWN:
new_btn = BUTTON_SCROLL_FWD;
break;
case SDLK_BACKSPACE: