From b8a6f2b76091de4e153397aa67019560262ab64d Mon Sep 17 00:00:00 2001 From: Yamagi Date: Sun, 2 Feb 2025 10:25:33 +0100 Subject: [PATCH] Remove superfluous hints regarding rumble on Playstation gamepads. SDL3 replaced the Playstation specific hint to the more generic SDL_HINT_JOYSTICK_ENHANCED_REPORTS hint which is enabled by default. Pointed out by @erysdren and @protocultor in #1178. Based on PR #1178 by @erysdren. Closes #1178. --- src/client/input/sdl3.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/client/input/sdl3.c b/src/client/input/sdl3.c index 808ae93c..36f1d4f2 100644 --- a/src/client/input/sdl3.c +++ b/src/client/input/sdl3.c @@ -2097,14 +2097,6 @@ IN_Controller_Init(qboolean notify_user) if (!SDL_WasInit(SDL_INIT_GAMEPAD | SDL_INIT_HAPTIC)) { - -#ifdef SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE // extended input reports on PS controllers (enables gyro thru bluetooth) - SDL_SetHint( SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE, "1" ); -#endif -#ifdef SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE - SDL_SetHint( SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, "1" ); -#endif - if (!SDL_Init(SDL_INIT_GAMEPAD | SDL_INIT_HAPTIC)) { Com_Printf ("Couldn't init SDL Gamepad: %s.\n", SDL_GetError());