---
name: "SDL_UpdateGamepads"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_UpdateGamepads"
---

# SDL\_UpdateGamepads(3)

Manually pump gamepad updates if not using the loop.

## NAME

SDL\_UpdateGamepads - 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.
