Browse Source

Enable the 5th player LED on the DualSense controller

Fixes https://github.com/libsdl-org/SDL/issues/5152
Sam Lantinga 1 year ago
parent
commit
22016b4eae
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

@@ -351,7 +351,8 @@ static void SetLightsForPlayerIndex(DS5EffectsState_t *effects, int player_index
         0x04,
         0x0A,
         0x15,
-        0x1B
+        0x1B,
+        0x1F
     };
 
     if (player_index >= 0) {