add hint to allow disabling the use of Xinput.

This commit is contained in:
Edward Rudd 2013-03-05 18:01:59 -05:00
parent 5fd98b3297
commit 191718be44
2 changed files with 39 additions and 17 deletions

View file

@ -196,6 +196,15 @@ extern "C" {
#define SDL_HINT_ORIENTATIONS "SDL_IOS_ORIENTATIONS"
/**
* \brief A variable that lets you disable the detection and use of Xinput gamepad devices
*
* The variable can be set to the following values:
* "0" - Disable XInput timer (only uses direct input)
* "1" - Enable XInput timer (the default)
*/
#define SD_HINT_XINPUT_ENABLED "SDL_XINPUT_ENABLED"
/**
* \brief A variable that lets you manually hint extra gamecontroller db entries
*