Add window to config key bindings

Save the bindings in the conf file in a map.
This commit is contained in:
Xele02 committed 2013-02-02 17:43:56 +01:00
1 parent f7205f6543
commit d5c2560212
15 files changed
+367 -120

No files matched your search

+2
View File
@@ -83,6 +83,7 @@ void CConfig::Load(const char *iniFileName)
false);
#endif
control->Get("LargeControls", &bLargeControls, false);
control->Get("KeyMapping",iMappingMap);
IniFile::Section *pspConfig = iniFile.GetOrCreateSection("SystemParam");
pspConfig->Get("Language", &ilanguage, PSP_SYSTEMPARAM_LANGUAGE_ENGLISH);
@@ -133,6 +134,7 @@ void CConfig::Save()
control->Set("ShowStick", bShowAnalogStick);
control->Set("ShowTouchControls", bShowTouchControls);
control->Set("LargeControls", bLargeControls);
control->Set("KeyMapping",iMappingMap);
IniFile::Section *pspConfig = iniFile.GetOrCreateSection("SystemParam");
pspConfig->Set("Language", ilanguage);