Tilt control: Split the deadzone parameter since it needs to be different for different types.

Can at least share the string without problems.

Also rearrange the settings a little bit.
This commit is contained in:
Henrik Rydgård committed 2023-02-11 23:42:55 +01:00
1 parent c02fbd4bb7
commit 7d40ed6ba1
7 files changed
+37 -52

No files matched your search

+1 -1
View File
@@ -1405,7 +1405,7 @@ void NativeAxis(const AxisInput &axis) {
bool landscape = dp_yres < dp_xres;
// now transform out current tilt to the calibrated coordinate system
Tilt trueTilt = GenTilt(landscape, tiltBaseAngleY, tiltX, tiltY, tiltZ,
g_Config.bInvertTiltX, g_Config.bInvertTiltY, g_Config.fDeadzoneRadius,
g_Config.bInvertTiltX, g_Config.bInvertTiltY,
xSensitivity, ySensitivity);
TranslateTiltToInput(trueTilt);