Added SDL_HINT_JOYSTICK_GAMEINPUT

This commit is contained in:
Sam Lantinga 2024-08-09 09:19:32 -07:00
parent 0acf8343bb
commit c2085dad8f
2 changed files with 30 additions and 12 deletions

View file

@ -1226,6 +1226,21 @@ extern "C" {
*/
#define SDL_HINT_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED "SDL_JOYSTICK_FLIGHTSTICK_DEVICES_EXCLUDED"
/**
* A variable controlling whether GameInput should be used for
* controller handling on Windows.
*
* The variable can be set to the following values:
*
* - "0": GameInput is not used.
* - "1": GameInput is used. (default)
*
* This hint should be set before SDL is initialized.
*
* \since This hint is available since SDL 3.0.0.
*/
#define SDL_HINT_JOYSTICK_GAMEINPUT "SDL_JOYSTICK_GAMEINPUT"
/**
* A variable containing a list of devices known to have a GameCube form
* factor.