From 7b6bfd60f7353f696ad175b2ca71f617d360e3f4 Mon Sep 17 00:00:00 2001 From: Cameron Cawley Date: Mon, 5 Jul 2021 17:12:17 +0100 Subject: [PATCH] Add missing keycode in the SDL2 backend --- skeleton/sdl2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/skeleton/sdl2.cpp b/skeleton/sdl2.cpp index 4cb7c0f..86d71e6 100644 --- a/skeleton/sdl2.cpp +++ b/skeleton/sdl2.cpp @@ -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;