From 34773e6bf9e8dcaf4416d9210b7c701006e86abf Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Wed, 24 Jun 2026 14:08:29 -0500 Subject: [PATCH] HAX: Try using 0x7fff instead of SDL_HAPTIC_INFINITY length. --- Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp index c760ae8f0a..7dccdaf646 100644 --- a/Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp +++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDLGamepad.cpp @@ -346,7 +346,8 @@ public: condition.direction.type = SDL_HAPTIC_STEERING_AXIS; // Is "infinity" always supported ? - condition.length = SDL_HAPTIC_INFINITY; + // condition.length = SDL_HAPTIC_INFINITY; + condition.length = 0x7fff; const auto unsigned_gain = ControllerEmu::MapFloat(gain, 0); condition.right_sat[0] = unsigned_gain;