Query the state of joystick event processing.
Defined in <SDL3/SDL_joystick.h>
bool SDL_JoystickEventsEnabled(void);
(bool) Returns true if joystick events are being processed, false otherwise.
If joystick events are disabled, you must call SDL_UpdateJoysticks() yourself and check the state of the joystick when you want joystick information.
This function is available since SDL 3.1.3.