Query the state of gamepad event processing.
void); SDL_bool SDL_GamepadEventsEnabled(
Returns SDL_TRUE if gamepad events are being processed, SDL_FALSE otherwise.
If gamepad events are disabled, you must call SDL_UpdateGamepads() yourself and check the state of the gamepad when you want gamepad information.
This function is available since SDL 3.0.0.