mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 03:48:14 +00:00
Added SDL_HINT_JOYSTICK_HIDAPI_STEAM_HOME_LED
This commit is contained in:
@@ -1659,6 +1659,25 @@ extern "C" {
|
||||
*/
|
||||
#define SDL_HINT_JOYSTICK_HIDAPI_STEAM "SDL_JOYSTICK_HIDAPI_STEAM"
|
||||
|
||||
/**
|
||||
* A variable controlling whether the Steam button LED should be turned on when
|
||||
* a Steam controller is opened.
|
||||
*
|
||||
* The variable can be set to the following values:
|
||||
*
|
||||
* - "0": Steam button LED is turned off.
|
||||
* - "1": Steam button LED is turned on.
|
||||
*
|
||||
* By default the Steam button LED state is not changed. This hint can also be
|
||||
* set to a floating point value between 0.0 and 1.0 which controls the
|
||||
* brightness of the Steam button LED.
|
||||
*
|
||||
* This hint can be set anytime.
|
||||
*
|
||||
* \since This hint is available since SDL 3.1.8.
|
||||
*/
|
||||
#define SDL_HINT_JOYSTICK_HIDAPI_STEAM_HOME_LED "SDL_JOYSTICK_HIDAPI_STEAM_HOME_LED"
|
||||
|
||||
/**
|
||||
* A variable controlling whether the HIDAPI driver for the Steam Deck builtin
|
||||
* controller should be used.
|
||||
|
Reference in New Issue
Block a user