A variable controlling whether the HIDAPI driver for Nintendo Switch 2 controllers should be used.
Defined in <SDL3/SDL_hints.h>
#define SDL_HINT_JOYSTICK_HIDAPI_SWITCH2 "SDL_JOYSTICK_HIDAPI_SWITCH2"
The variable can be set to the following values:
The default is the value of SDL_HINT_JOYSTICK_HIDAPI.
This hint should be set before initializing joysticks and gamepads.
This hint is available since SDL 3.4.0.