From d1ae1163dd403969bda2ebdd26f0c87c3552d542 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 14 Sep 2025 09:59:01 -0700 Subject: [PATCH] Wait briefly after enabling effects on DualSense controller The rumble motors apparently take a short time to power up after enabling enhanced mode. Fixes https://github.com/libsdl-org/SDL/issues/13909 (cherry picked from commit 1aba421bd301fa663e5bc83dc8af97caf6a6968a) --- src/joystick/hidapi/SDL_hidapi_ps5.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/joystick/hidapi/SDL_hidapi_ps5.c b/src/joystick/hidapi/SDL_hidapi_ps5.c index 3c2bf96a6f..1abde08494 100644 --- a/src/joystick/hidapi/SDL_hidapi_ps5.c +++ b/src/joystick/hidapi/SDL_hidapi_ps5.c @@ -1047,6 +1047,9 @@ static bool HIDAPI_DriverPS5_InternalSendJoystickEffect(SDL_DriverPS5_Context *c if (!ctx->enhanced_mode) { if (application_usage) { HIDAPI_DriverPS5_UpdateEnhancedModeOnApplicationUsage(ctx); + + // Wait briefly before sending additional effects + SDL_Delay(10); } if (!ctx->enhanced_mode) {