Browse Source

Enable the 5th player LED on the DualSense controller

Fixes https://github.com/libsdl-org/SDL/issues/5152

(cherry picked from commit 22016b4eae50fab0698ff3a33672f57283f1cccd)
Sam Lantinga 1 year ago
parent
commit
171e306dbf
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/joystick/hidapi/SDL_hidapi_ps5.c

+ 2 - 1
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) {