SDL_GamepadEventsEnabled - Query the state of gamepad event processing.
Contents
Availability
This function is available since SDL 3.2.0.
Description
If gamepad events are disabled, you must call
SDL_UpdateGamepads () yourself and check the state of the gamepad when you want gamepad information.
Header File
Defined in SDL3/SDL_gamepad.h
Name
SDL_GamepadEventsEnabled - Query the state of gamepad event processing.
Return Value
Returns true if gamepad events are being processed, false otherwise.
See Also
•(3), SDL_SetGamepadEventsEnabled(3) Simple Directmedia Layer SDL 3.2.10 SDL_GamepadEventsEnabled(3)
Synopsis
#include"SDL3/SDL.h"boolSDL_GamepadEventsEnabled(void);
