diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-22 19:44:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-22 19:44:57 +0300 |
commit | ce1b6c9c3c0166853089a247add9c2baa016c5f0 (patch) | |
tree | d565a5de14014cd38caee94079905757e095d132 /src/gui/sdlinput.cpp | |
parent | b792606533096577b91a7b744813f62984d31d09 (diff) | |
download | plus-ce1b6c9c3c0166853089a247add9c2baa016c5f0.tar.gz plus-ce1b6c9c3c0166853089a247add9c2baa016c5f0.tar.bz2 plus-ce1b6c9c3c0166853089a247add9c2baa016c5f0.tar.xz plus-ce1b6c9c3c0166853089a247add9c2baa016c5f0.zip |
by default assign back button to quit in SDL2 on Android.
Diffstat (limited to 'src/gui/sdlinput.cpp')
-rw-r--r-- | src/gui/sdlinput.cpp | 3 |
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: |