HAX: Try using 0x7fff instead of SDL_HAPTIC_INFINITY length.

This commit is contained in:
Jordan Woyak
2026-06-24 14:08:29 -05:00
parent fb037aac2b
commit 34773e6bf9

View File

@@ -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<u16>(gain, 0);
condition.right_sat[0] = unsigned_gain;