summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-09 02:51:52 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-09 03:02:42 +0300
commit274737b8d9b46dfcf6fc696123e869bbf6adaaf6 (patch)
tree08bfff598179dd6083a38599811054f50e6a4e97 /src/defaults.cpp
parent0260dcea2e9fbd06ba2ee166862d089dc72516f4 (diff)
downloadplus-274737b8d9b46dfcf6fc696123e869bbf6adaaf6.tar.gz
plus-274737b8d9b46dfcf6fc696123e869bbf6adaaf6.tar.bz2
plus-274737b8d9b46dfcf6fc696123e869bbf6adaaf6.tar.xz
plus-274737b8d9b46dfcf6fc696123e869bbf6adaaf6.zip
Add support for joystick selection.
Fix enable/disable joystick support. Increase max joystick buttons number to 64. Prevent joystick usage without calibration.
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 8d5907f05..76438a1e2 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -222,6 +222,7 @@ DefaultsData* getConfigDefaults()
AddDEF(configData, "showMVP", false);
AddDEF(configData, "pvpAttackType", 0);
AddDEF(configData, "lang", "");
+ AddDEF(configData, "selectedJoystick", 0);
return configData;
}