diff options
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r-- | src/actionmanager.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index 92087b6db..761825f03 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -65,6 +65,10 @@ #include <guichan/actionlistener.hpp> +#ifdef ANDROID +#include <SDL_screenkeyboard.h> +#endif + #include "debug.h" #define impHandler(name) bool name(const InputEvent &event) @@ -1065,4 +1069,11 @@ impHandler0(stopSit) return false; } +impHandler0(showKeyboard) +{ +#ifdef ANDROID + SDL_ANDROID_ToggleScreenKeyboardTextInput(nullptr); +#endif +} + } |