(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS

A variable controlling whether the HIDAPI driver for Nintendo Switch Joy-Cons should be used.

Header File

Defined in SDL_hints.h

Syntax

#define SDL_HINT_JOYSTICK_HIDAPI_JOY_CONS "SDL_JOYSTICK_HIDAPI_JOY_CONS"

Remarks

This variable can be set to the following values:

The default is the value of SDL_HINT_JOYSTICK_HIDAPI


CategoryAPI, CategoryAPIMacro, CategoryHints