Manually pump gamepad updates if not using the loop.
void SDL_UpdateGamepads(void);
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.
This function is available since SDL 3.0.0.