We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb37e9c commit 3ad9a3fCopy full SHA for 3ad9a3f
src/input_manager.cpp
@@ -96,6 +96,8 @@ class GamepadSource : public InputSource
96
deadzone = (StickRange * Settings::SteeringDeadZone);
97
else if (axis_ == SDL_GAMEPAD_AXIS_RIGHTX || axis_ == SDL_GAMEPAD_AXIS_RIGHTY)
98
deadzone = (StickRange * RStickDeadzone);
99
+ else
100
+ deadzone = XINPUT_GAMEPAD_TRIGGER_THRESHOLD;
101
102
if (abs(raw) < deadzone)
103
raw = 0;
0 commit comments