#pragma section-numbers off #pragma camelcase off || DRAFT|| ##*^*^*^*^*See http://wiki.libsdl.org/moin.cgi/SGEnumerations for details on editing this page*^*^*^*^* = SDL_HINT_XINPUT_ENABLED = 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". <> == Values == ||0||disable XInput detection (only uses direct input)|| ||1||enable XInput detection (the default)|| == Default == By default Xinput gamepad devices are detected. == Code Examples == {{{#!highlight cpp SDL_SetHint(SDL_HINT_XINPUT_ENABLED, "0"); //... SDL_Init(SDL_INIT_EVERYTHING); }}} ##Leave this section as-is unless you have a code example to put in. In that case, replace You can add your code example here with your code example following the Style Guide instructions. Leave the rest of the markup alone and delete this comment. == Remarks == You need to set this hint before you call [[SDL_Init]] otherwise it will not take effect. ---- [[CategoryDefine]], [[CategoryHints]] ##See the Style Guide for instructions on editing the footer.