x360 temporary right stick hard bind now configurable in ini file.

This commit is contained in:
Henrik Rydgard committed 2013-06-11 21:29:55 +02:00
1 parent 5916a345c3
commit b60a2fb819
4 files changed
+32 -9

No files matched your search

+3 -1
View File
@@ -145,6 +145,7 @@ void Config::Load(const char *iniFileName)
control->Get("KeyMapping",iMappingMap);
control->Get("AccelerometerToAnalogHoriz", &bAccelerometerToAnalogHoriz, false);
control->Get("ForceInputDevice", &iForceInputDevice, -1);
control->Get("RightStickBind", &iRightStickBind, 0);
IniFile::Section *pspConfig = iniFile.GetOrCreateSection("SystemParam");
pspConfig->Get("NickName", &sNickName, "shadow");
@@ -236,7 +237,8 @@ void Config::Save()
control->Set("KeyMapping",iMappingMap);
control->Set("AccelerometerToAnalogHoriz", bAccelerometerToAnalogHoriz);
control->Set("ForceInputDevice", iForceInputDevice);
control->Set("RightStickBind", iRightStickBind);
IniFile::Section *pspConfig = iniFile.GetOrCreateSection("SystemParam");
pspConfig->Set("NickName", sNickName.c_str());