SDL_GamepadEventsEnabled - Man Page
Query the state of gamepad event processing.
Header File
Defined in SDL3/SDL_gamepad.h
Synopsis
#include "SDL3/SDL.h" bool SDL_GamepadEventsEnabled(void);
Description
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
Referenced By
SDL_SetGamepadEventsEnabled(3).
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS