summaryrefslogtreecommitdiff
path: root/src/gui/sdlinput.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r--src/gui/sdlinput.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/sdlinput.cpp b/src/gui/sdlinput.cpp
index a942d6909..c869cd99b 100644
--- a/src/gui/sdlinput.cpp
+++ b/src/gui/sdlinput.cpp
@@ -369,6 +369,9 @@ int SDLInput::convertKeyCharacter(const SDL_Event &event)
}
break;
case SDLK_ESCAPE:
+#ifdef USE_SDL2
+ case SDLK_AC_BACK:
+#endif
value = Key::ESCAPE;
break;
case SDLK_DELETE: