|
@@ -696,6 +696,15 @@ extern "C" {
|
|
|
*/
|
|
|
#define SDL_HINT_JOYSTICK_HIDAPI_SWITCH "SDL_JOYSTICK_HIDAPI_SWITCH"
|
|
|
|
|
|
+/**
|
|
|
+ * \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)
|
|
|
+ */
|
|
|
+#define SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED "SDL_JOYSTICK_HIDAPI_SWITCH_HOME_LED"
|
|
|
+
|
|
|
/**
|
|
|
* \brief A variable controlling whether Switch Joy-Cons should be treated the same as Switch Pro Controllers when using the HIDAPI driver.
|
|
|
*
|