Toggle to adjust on-screen buttons scaling
This commit is contained in:
parent
a2323feace
commit
ab545a1cf0
4 changed files with 20 additions and 3 deletions
|
@ -138,6 +138,7 @@ void Config::Load(const char *iniFileName)
|
|||
control->Get("ForceInputDevice", &iForceInputDevice, -1);
|
||||
control->Get("RightStickBind", &iRightStickBind, 0);
|
||||
control->Get("TouchButtonOpacity", &iTouchButtonOpacity, 65);
|
||||
control->Get("ButtonScale", &fButtonScale, 1.15);
|
||||
|
||||
IniFile::Section *pspConfig = iniFile.GetOrCreateSection("SystemParam");
|
||||
pspConfig->Get("NickName", &sNickName, "shadow");
|
||||
|
@ -232,7 +233,7 @@ void Config::Save()
|
|||
control->Set("ForceInputDevice", iForceInputDevice);
|
||||
control->Set("RightStickBind", iRightStickBind);
|
||||
control->Set("TouchButtonOpacity", iTouchButtonOpacity);
|
||||
|
||||
control->Set("ButtonScale", fButtonScale);
|
||||
|
||||
IniFile::Section *pspConfig = iniFile.GetOrCreateSection("SystemParam");
|
||||
pspConfig->Set("NickName", sNickName.c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue