mirror of
https://github.com/aap/librw.git
synced 2024-11-25 13:15:43 +00:00
Add missing keycode in the SDL2 backend
This commit is contained in:
parent
b1781f4189
commit
7b6bfd60f7
@ -71,6 +71,7 @@ static int keyCodeToSkKey(SDL_Keycode keycode) {
|
|||||||
case SDLK_INSERT: return KEY_INS;
|
case SDLK_INSERT: return KEY_INS;
|
||||||
case SDLK_DELETE: return KEY_DEL;
|
case SDLK_DELETE: return KEY_DEL;
|
||||||
case SDLK_RIGHT: return KEY_RIGHT;
|
case SDLK_RIGHT: return KEY_RIGHT;
|
||||||
|
case SDLK_LEFT: return KEY_LEFT;
|
||||||
case SDLK_DOWN: return KEY_DOWN;
|
case SDLK_DOWN: return KEY_DOWN;
|
||||||
case SDLK_UP: return KEY_UP;
|
case SDLK_UP: return KEY_UP;
|
||||||
case SDLK_PAGEUP: return KEY_PGUP;
|
case SDLK_PAGEUP: return KEY_PGUP;
|
||||||
|
Loading…
Reference in New Issue
Block a user