uisimulator: add keyboard mappings for M3K scrollstrip

Change-Id: I2e6d5464fac6d9e1e292b17f5c1bbf646c1555de
This commit is contained in:
Aidan MacDonald 2021-11-12 19:50:52 +00:00
parent fbf83dc4ce
commit ee27ba416f

View file

@ -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: