| SDL_SetGamepadEventsEnabled(3) | SDL3 FUNCTIONS | SDL_SetGamepadEventsEnabled(3) |
SDL_SetGamepadEventsEnabled - Set the state of gamepad event processing.
Defined in SDL3/SDL_gamepad.h
#include "SDL3/SDL.h"
void SDL_SetGamepadEventsEnabled(bool enabled);
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.2.0.
•(3), SDL_GamepadEventsEnabled(3), •(3), SDL_UpdateGamepads(3)
| SDL 3.2.10 | Simple Directmedia Layer |