summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-22 20:33:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-22 20:33:33 +0300
commit0dbe22fd77994c05fcd587363b726c22c40b1917 (patch)
treeb26f3904e1a07d2f5769cac4260adf75387f75e8 /src/game.cpp
parentce1b6c9c3c0166853089a247add9c2baa016c5f0 (diff)
downloadmanaplus-0dbe22fd77994c05fcd587363b726c22c40b1917.tar.gz
manaplus-0dbe22fd77994c05fcd587363b726c22c40b1917.tar.bz2
manaplus-0dbe22fd77994c05fcd587363b726c22c40b1917.tar.xz
manaplus-0dbe22fd77994c05fcd587363b726c22c40b1917.zip
add support for show/hide keyboard in SDL2 on Android.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index debc28515..ea47f3b08 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1053,9 +1053,7 @@ void Game::handleInput()
client->setState(STATE_EXIT);
break;
#ifdef ANDROID
-#ifdef USE_SDL2
- // +++ probably need add support
-#else
+#ifndef USE_SDL2
case SDL_KEYBOARDSHOW:
client->updateScreenKeyboard(event.user.code);
break;