SDL_UpdateGamepads - Man Page
Manually pump gamepad updates if not using the loop.
Header File
Defined in SDL3/SDL_gamepad.h
Synopsis
#include "SDL3/SDL.h" void SDL_UpdateGamepads(void);
Description
This function is called automatically by the event loop if events are enabled. Under such circumstances, it will not be necessary to call this function.
Availability
This function is available since SDL 3.2.0.
Referenced By
SDL_SetGamepadEventsEnabled(3).
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS