logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_UpdateGamepads - Manually pump gamepad updates if not using the loop.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                              SDL_UpdateGamepads(3)

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.

Name

       SDL_UpdateGamepads - Manually pump gamepad updates if not using the loop.

Synopsis

#include<SDL3/SDL_gamepad.h>voidSDL_UpdateGamepads(void);

See Also