diff --git a/src/i_input.c b/src/i_input.c index 92193dee..827f06f4 100644 --- a/src/i_input.c +++ b/src/i_input.c @@ -415,6 +415,10 @@ void I_InitGamepad(void) return; } + // Enable bluetooth gyro support for DualShock 4 and DualSense. + SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1"); + SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, "1"); + if (SDL_Init(SDL_INIT_GAMECONTROLLER) < 0) { I_Printf(VB_WARNING,