Don't modify the Nintendo Switch home LED state by default

This commit is contained in:
Sam Lantinga 2021-08-25 14:41:58 -07:00
parent b1e492d1fc
commit 503ea8e89f
2 changed files with 11 additions and 6 deletions

View file

@ -711,8 +711,10 @@ extern "C" {
* \brief A variable controlling whether the Home button LED should be turned on when a Nintendo Switch controller is opened
*
* This variable can be set to the following values:
* "0" - home button LED is left off
* "1" - home button LED is turned on (the default)
* "0" - home button LED is turned off
* "1" - home button LED is turned on
*
* By default the Home button LED state is not changed.
*/
#define SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED "SDL_JOYSTICK_HIDAPI_SWITCH_HOME_LED"