(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_HINT_AUTO_UPDATE_JOYSTICKS

A variable controlling whether SDL updates joystick state when getting input events

Header File

Defined in SDL_hints.h

Syntax

#define SDL_HINT_AUTO_UPDATE_JOYSTICKS  "SDL_AUTO_UPDATE_JOYSTICKS"

Remarks

This variable can be set to the following values:

This hint can be toggled on and off at runtime.


CategoryAPI, CategoryAPIMacro, CategoryHints