Merge pull request #84 from ccawley2011/patch-1

Add missing keycode in the SDL2 backend
This commit is contained in:
aap 2021-07-09 10:06:02 +02:00 committed by GitHub
commit 7c105b9f28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,6 +71,7 @@ static int keyCodeToSkKey(SDL_Keycode keycode) {
case SDLK_INSERT: return KEY_INS;
case SDLK_DELETE: return KEY_DEL;
case SDLK_RIGHT: return KEY_RIGHT;
case SDLK_LEFT: return KEY_LEFT;
case SDLK_DOWN: return KEY_DOWN;
case SDLK_UP: return KEY_UP;
case SDLK_PAGEUP: return KEY_PGUP;