summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-14 16:55:35 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-14 18:37:50 +0300
commit13642a6cddd8657ec84a2bfa94c6ac7d34545dba (patch)
treecefec154fe5b6ec59990c4ef5cfe67eba4a484e6 /src/defaults.cpp
parenteaaafe3312a361e332d495ee68451e424d90a19d (diff)
downloadmanaplus-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.gz
manaplus-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.bz2
manaplus-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.tar.xz
manaplus-13642a6cddd8657ec84a2bfa94c6ac7d34545dba.zip
Add support for on screen joystick for moving.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 8411b06da..9a639d3c5 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -107,9 +107,11 @@ DefaultsData* getConfigDefaults()
#ifdef ANDROID
AddDEF("screenwidth", 0);
AddDEF("screenheight", 0);
+ AddDEF("showScreenJoystick", true);
#else
AddDEF("screenwidth", defaultScreenWidth);
AddDEF("screenheight", defaultScreenHeight);
+ AddDEF("showScreenJoystick", false);
#endif
AddDEF("screen", false);
AddDEF("hwaccel", false);