THIS PAGE IS A WORK IN PROGRESS ... Please make edits to this page to improve it!
A hint that specifies if Xinput gamepad devices are detected. Xinput is limited to 4 gamepads, if you want more than four you need to set it to "0".
0 |
disable XInput detection (only uses direct input) |
1 |
enable XInput detection (the default) |
By default Xinput gamepad devices are detected.
"0");
SDL_SetHint(SDL_HINT_XINPUT_ENABLED, //...
SDL_Init(SDL_INIT_EVERYTHING);
You need to set this hint before you call SDL_Init otherwise it will not take effect.
CategoryDefine, CategoryHints, CategoryDraft