summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-09 03:54:55 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-09 03:58:39 +0300
commita9c6d1da99732437d56b9ca964bb1b13b8d76887 (patch)
tree0c5e8ed1bd721c50dd9e15c564287e131b071251 /src/defaults.cpp
parentffbd974deb426cdda39e1f0137a7fc4df681418d (diff)
downloadmanaplus-a9c6d1da99732437d56b9ca964bb1b13b8d76887.tar.gz
manaplus-a9c6d1da99732437d56b9ca964bb1b13b8d76887.tar.bz2
manaplus-a9c6d1da99732437d56b9ca964bb1b13b8d76887.tar.xz
manaplus-a9c6d1da99732437d56b9ca964bb1b13b8d76887.zip
Add option to use joystick only if game window is active.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 76438a1e2..f18e0f432 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -223,6 +223,7 @@ DefaultsData* getConfigDefaults()
AddDEF(configData, "pvpAttackType", 0);
AddDEF(configData, "lang", "");
AddDEF(configData, "selectedJoystick", 0);
+ AddDEF(configData, "useInactiveJoystick", false);
return configData;
}