mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Add option to disable touch dpad diagonals.
Makes some games a lot more playable with touch screen.
This commit is contained in:
1 parent
cfbd1b07e8
commit
c3dfbbeff9
5 files changed
+32
-14
No files matched your search
@@ -256,6 +256,7 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
|
||||
control->Get("DeadzoneRadius", &fDeadzoneRadius, 0.35);
|
||||
|
||||
#endif
|
||||
control->Get("DisableDpadDiagonals", &bDisableDpadDiagonals, false);
|
||||
control->Get("TouchButtonOpacity", &iTouchButtonOpacity, 65);
|
||||
//set these to -1 if not initialized. initializing these
|
||||
//requires pixel coordinates which is not known right now.
|
||||
@@ -514,6 +515,8 @@ void Config::Save() {
|
||||
control->Set("TiltSensitivityY", iTiltSensitivityY);
|
||||
control->Set("DeadzoneRadius", fDeadzoneRadius);
|
||||
#endif
|
||||
control->Set("DisableDpadDiagonals", bDisableDpadDiagonals);
|
||||
|
||||
control->Set("TouchButtonOpacity", iTouchButtonOpacity);
|
||||
control->Set("ActionButtonScale", fActionButtonScale);
|
||||
control->Set("ActionButtonSpacing2", fActionButtonSpacing);
|
||||
|
||||
Reference in new issue
Block a user