summaryrefslogtreecommitdiff
path: root/src/touchactions.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-30 23:24:09 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-30 23:24:09 +0300
commit021e567ba44650b0ab63e7f571dc0d622edbcc6d (patch)
tree32845a9e5b32f799bc8bbe5c25a1cd83892b104b /src/touchactions.cpp
parentbb0b49f4d70f8268550068f972549ffa33e9a75b (diff)
downloadManaVerse-021e567ba44650b0ab63e7f571dc0d622edbcc6d.tar.gz
ManaVerse-021e567ba44650b0ab63e7f571dc0d622edbcc6d.tar.bz2
ManaVerse-021e567ba44650b0ab63e7f571dc0d622edbcc6d.tar.xz
ManaVerse-021e567ba44650b0ab63e7f571dc0d622edbcc6d.zip
Add action to show onscreen keyboard.
Diffstat (limited to 'src/touchactions.cpp')
-rw-r--r--src/touchactions.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/touchactions.cpp b/src/touchactions.cpp
index 2a6fbacaa..d45e4a7c3 100644
--- a/src/touchactions.cpp
+++ b/src/touchactions.cpp
@@ -26,10 +26,6 @@
#include "mouseinput.h"
#include "touchmanager.h"
-#ifdef ANDROID
-#include <SDL_screenkeyboard.h>
-#endif
-
#include "debug.h"
InputEvent tempEvent(0, 0);
@@ -41,9 +37,7 @@ int haldJoyPad = 50;
impHandler0(showKeyboard)
{
-#ifdef ANDROID
- SDL_ANDROID_ToggleScreenKeyboardTextInput(nullptr);
-#endif
+ ActionManager::showKeyboard(tempEvent);
}
void setHalfJoyPad(int s)