Add SDL_HINT_DIRECTINPUT_ENABLED (on by default)

This commit is contained in:
Jade Macho authored and Sam Lantinga committed 2022-06-28 15:59:05 -07:00
1 parent db7dfece16
commit 6a2e6c82a0
3 files changed
+26

No files matched your search

+9
View File
@@ -2001,6 +2001,15 @@ extern "C" {
*/
#define SDL_HINT_XINPUT_ENABLED "SDL_XINPUT_ENABLED"
/**
* \brief A variable that lets you disable the detection and use of DirectInput gamepad devices
*
* The variable can be set to the following values:
* "0" - Disable DirectInput detection (only uses XInput)
* "1" - Enable DirectInput detection (the default)
*/
#define SDL_HINT_DIRECTINPUT_ENABLED "SDL_DIRECTINPUT_ENABLED"
/**
* \brief A variable that causes SDL to use the old axis and button mapping for XInput devices.
*