setEventsEnabled static method
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.
\param enabled whether to process gamepad events or not.
\since This function is available since SDL 3.1.3.
\sa SDL_GamepadEventsEnabled \sa SDL_UpdateGamepads
extern SDL_DECLSPEC void SDLCALL SDL_SetGamepadEventsEnabled(bool enabled)
Implementation
static void setEventsEnabled(bool enabled) {
return sdlSetGamepadEventsEnabled(enabled);
}