From 1faef374a9ce64cdce55a16d3b44a5a7fa9c5841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Mon, 29 Jan 2024 18:48:05 +0100 Subject: [PATCH] Strengthen the axis-threshold reduction for related axes a bit. See #17792 --- Core/ControlMapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/ControlMapper.cpp b/Core/ControlMapper.cpp index d75508ea2b..2bbb939708 100644 --- a/Core/ControlMapper.cpp +++ b/Core/ControlMapper.cpp @@ -56,7 +56,7 @@ float ControlMapper::GetDeviceAxisThreshold(int device, const InputMapping &mapp float absCoValue = fabsf(rawAxisValue_[(int)coAxis]); if (absCoValue > 0.0f) { // Bias down the threshold if the other axis is active. - float biasedThreshold = AXIS_BIND_THRESHOLD * (1.0f - absCoValue * 0.2f); + float biasedThreshold = AXIS_BIND_THRESHOLD * (1.0f - absCoValue * 0.35f); // INFO_LOG(SYSTEM, "coValue: %f threshold: %f", absCoValue, biasedThreshold); return biasedThreshold; }