SDL_HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED - Man Page

A variable controlling whether the player LEDs should be lit to indicate which player is associated with a PS5 controller.

Synopsis

#include <SDL3/SDL_hints.h>

#define SDL_HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED "SDL_JOYSTICK_HIDAPI_PS5_PLAYER_LED"

Description

The variable can be set to the following values:

· "0": player LEDs are not enabled.

· "1": player LEDs are enabled. (default)

Availability

This hint is available since SDL 3.2.0.

Info

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS