DOKK / manpages / debian 13 / libsdl3-doc / SDL_GamepadEventsEnabled.3.en
SDL_GamepadEventsEnabled(3) SDL3 FUNCTIONS SDL_GamepadEventsEnabled(3)

SDL_GamepadEventsEnabled - Query the state of gamepad event processing.

Defined in SDL3/SDL_gamepad.h

#include "SDL3/SDL.h"
bool SDL_GamepadEventsEnabled(void);

If gamepad events are disabled, you must call

SDL_UpdateGamepads () yourself and check the state of the gamepad when you want gamepad information.

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

This function is available since SDL 3.2.0.

(3), SDL_SetGamepadEventsEnabled(3)

SDL 3.2.10 Simple Directmedia Layer