uisimulator: add keyboard mappings for M3K scrollstrip
Change-Id: I2e6d5464fac6d9e1e292b17f5c1bbf646c1555de
This commit is contained in:
parent
fbf83dc4ce
commit
ee27ba416f
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue