SDL_UpdateGamepads(3)

SDL_UpdateGamepads3

Manually pump gamepad updates if not using the loop.

Usage

#include "SDL3/SDL.h"

void SDL_UpdateGamepads(void);

Header file

Defined in SDL3/SDL_gamepad.h

Overview

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.