Function SDL_GamepadEventsEnabled

pub unsafe extern "C" fn SDL_GamepadEventsEnabled() -> bool
Available on crate feature dep_sdl3 only.
Expand description

Query 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.

§Return value

Returns true if gamepad events are being processed, false otherwise.

§Availability

This function is available since SDL 3.2.0.

§See also