mirror of https://github.com/aap/librw.git
Merge pull request #84 from ccawley2011/patch-1
Add missing keycode in the SDL2 backend
This commit is contained in:
commit
7c105b9f28
|
@ -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