SDL_SetJoystickEventsEnabled

Set the state of joystick event processing.

If joystick events are disabled, you must call SDL_UpdateJoysticks() yourself and check the state of the joystick when you want joystick information.

extern (C) nothrow @nogc extern
void
SDL_SetJoystickEventsEnabled
(
bool enabled
)

Parameters

enabled bool

whether to process joystick events or not.

See Also

Meta