summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r--src/actionmanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index 3e675429e..3bbc30ffc 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -68,8 +68,10 @@
#include "utils/gettext.h"
#ifdef ANDROID
+#ifndef USE_SDL2
#include <SDL_screenkeyboard.h>
#endif
+#endif
#include "debug.h"
@@ -1108,7 +1110,11 @@ impHandler0(stopSit)
impHandler0(showKeyboard)
{
#ifdef ANDROID
+#ifdef USE_SDL2
+// +++ need add support
+#else
SDL_ANDROID_ToggleScreenKeyboardTextInput(nullptr);
+#endif
return true;
#else
return false;