mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Add an Enable checkbox to tilt control, add mappable control
- Fixes #20830
This commit is contained in:
1 parent
3000c82d2c
commit
f546dc3835
54 files changed
+101
-15
No files matched your search
@@ -111,7 +111,7 @@ inline void ApplyInverseDeadzone(float x, float y, float *outX, float *outY, flo
|
||||
}
|
||||
|
||||
void ProcessTilt(bool landscape, float calibrationAngle, float x, float y, float z, bool invertX, bool invertY, float xSensitivity, float ySensitivity) {
|
||||
if (g_Config.iTiltInputType == TILT_NULL) {
|
||||
if (g_Config.iTiltInputType == TILT_NULL || !g_Config.bTiltInputEnabled) {
|
||||
// Turned off - nothing to do.
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user