Function SDL_JoystickEventsEnabled

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

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

§Return value

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

§Availability

This function is available since SDL 3.2.0.

§See also