mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
Merge pull request #34 from invisiblek/master
Add left and right brackets as PAGEUP and PAGEDOWN keys
This commit is contained in:
commit
8a3eefcffc
|
@ -54,7 +54,11 @@ Up - Scroll up
|
||||||
|
|
||||||
Down - Scroll down
|
Down - Scroll down
|
||||||
|
|
||||||
Left - Last system (if it exists)
|
PageUp or ] - Page up
|
||||||
|
|
||||||
|
PageDown or [ - Page down
|
||||||
|
|
||||||
|
Left - Previous system (if it exists)
|
||||||
|
|
||||||
Right - Next system (if it exists)
|
Right - Next system (if it exists)
|
||||||
|
|
||||||
|
|
|
@ -61,9 +61,15 @@ void InputManager::processEvent(SDL_Event* event)
|
||||||
case SDLK_PAGEUP:
|
case SDLK_PAGEUP:
|
||||||
button = PAGEUP;
|
button = PAGEUP;
|
||||||
break;
|
break;
|
||||||
|
case SDLK_RIGHTBRACKET:
|
||||||
|
button = PAGEUP;
|
||||||
|
break;
|
||||||
case SDLK_PAGEDOWN:
|
case SDLK_PAGEDOWN:
|
||||||
button = PAGEDOWN;
|
button = PAGEDOWN;
|
||||||
break;
|
break;
|
||||||
|
case SDLK_LEFTBRACKET:
|
||||||
|
button = PAGEDOWN;
|
||||||
|
break;
|
||||||
case SDLK_RETURN:
|
case SDLK_RETURN:
|
||||||
button = BUTTON1;
|
button = BUTTON1;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue