summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-31 17:33:44 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-31 17:33:44 +0300
commit021fa9fe787fe4dd1a6d97b77e94400fac179f23 (patch)
tree05eebf64884503a17766f1755344568087fec0b2 /src/defaults.cpp
parentea886eaeabe20e5a51e91ec58067e2ebc20d4f99 (diff)
downloadplus-021fa9fe787fe4dd1a6d97b77e94400fac179f23.tar.gz
plus-021fa9fe787fe4dd1a6d97b77e94400fac179f23.tar.bz2
plus-021fa9fe787fe4dd1a6d97b77e94400fac179f23.tar.xz
plus-021fa9fe787fe4dd1a6d97b77e94400fac179f23.zip
Add support for changable actions for onscreen controls.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 2c59ee887..467f9bd44 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -24,8 +24,9 @@
#include "utils/stringutils.h"
#include "being.h"
-#include "graphics.h"
#include "client.h"
+#include "graphics.h"
+#include "keydata.h"
#include <stdlib.h>
@@ -296,6 +297,7 @@ DefaultsData* getConfigDefaults()
AddDEF("selfMouseHeal", true);
AddDEF("serverslistupdate", "");
AddDEF("fadeoutmusic", false);
+ AddDEF("screenActionKeyboard", Input::KEY_SHOW_KEYBOARD);
return configData;
}