From 171e306dbfd0aae9d0f3a12b83cfae17035c30eb Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 6 Nov 2023 20:14:50 -0800 Subject: [PATCH] Enable the 5th player LED on the DualSense controller Fixes https://github.com/libsdl-org/SDL/issues/5152 (cherry picked from commit 22016b4eae50fab0698ff3a33672f57283f1cccd) --- src/joystick/hidapi/SDL_hidapi_ps5.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/joystick/hidapi/SDL_hidapi_ps5.c b/src/joystick/hidapi/SDL_hidapi_ps5.c index 68588c287..0b0a906bf 100644 --- a/src/joystick/hidapi/SDL_hidapi_ps5.c +++ b/src/joystick/hidapi/SDL_hidapi_ps5.c @@ -333,7 +333,8 @@ static void SetLightsForPlayerIndex(DS5EffectsState_t *effects, int player_index 0x04, 0x0A, 0x15, - 0x1B + 0x1B, + 0x1F }; if (player_index >= 0) {