From 22016b4eae50fab0698ff3a33672f57283f1cccd Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
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
---
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 6a6f7b1e2f56..f4b628a18c78 100644
--- a/src/joystick/hidapi/SDL_hidapi_ps5.c
+++ b/src/joystick/hidapi/SDL_hidapi_ps5.c
@@ -351,7 +351,8 @@ static void SetLightsForPlayerIndex(DS5EffectsState_t *effects, int player_index
0x04,
0x0A,
0x15,
- 0x1B
+ 0x1B,
+ 0x1F
};
if (player_index >= 0) {