I’ve been working on our game which uses SDL and when I updated from 2.0.12 to 2.0.14 rumble stopped working. I use SDL_HAPTIC_LEFTRIGHT but I logged out the return value of SDL_HapticQuery and it was 0. I tested this using both an Xbox 360 and an Xbox One controller on Windows 10. I debugged into SDL a bit and I found that if I call SDL_SetHint(SDL_HINT_JOYSTICK_RAWINPUT,“0”) then rumble is working again. Is this intended behaviour or a bug? And is this a good workaround or is it problematic to turn off rawinput?
I also tested a PS4 controller but there is no rumble at all, not even with rawinput turned off. I also tried to enable SDL_HINT_JOYSTICK_HIDAPI_PS4 and SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE but nothing worked. Is there a way to enable Ps4 rumble?