(This is the legacy documentation for SDL2, the previous stable version; SDL3 is the current stable version.)
A variable that lets you disable the detection and use of Xinput gamepad devices
Defined in SDL_hints.h
Syntax
#define SDL_HINT_XINPUT_ENABLED "SDL_XINPUT_ENABLED"
The variable can be set to the following values:
- "0": Disable XInput detection (only uses direct input)
- "1": Enable XInput detection (the default)
CategoryAPI, CategoryAPIMacro, CategoryHints