SDL_SetGamepadEventsEnabled

Set the state of gamepad event processing.

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

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

Parameters

enabled bool

whether to process gamepad events or not.

See Also

Meta