summaryrefslogtreecommitdiffstats
path: root/uisimulator/sdl/button.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/sdl/button.c')
-rw-r--r--uisimulator/sdl/button.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/uisimulator/sdl/button.c b/uisimulator/sdl/button.c
index 9c9d019288..843f685226 100644
--- a/uisimulator/sdl/button.c
+++ b/uisimulator/sdl/button.c
@@ -246,6 +246,12 @@ void button_event(int key, bool pressed)
case SDLK_INSERT:
new_btn = BUTTON_MENU;
break;
+ case SDLK_KP9:
+ new_btn = BUTTON_VOL_UP;
+ break;
+ case SDLK_KP3:
+ new_btn = BUTTON_VOL_DOWN;
+ break;
#elif CONFIG_KEYPAD == GIGABEAT_S_PAD
case SDLK_KP4: