Add an Enable checkbox to tilt control, add mappable control

- Fixes #20830
This commit is contained in:
Henrik Rydgård committed 2026-02-05 09:44:11 +01:00
1 parent 3000c82d2c
commit f546dc3835
54 files changed
+101 -15

No files matched your search

+1 -1
View File
@@ -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;
}