(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)
A variable that lets you disable the detection and use of Xinput gamepad devices
Defined in SDL_hints.h
Syntax
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