---
name: "SDL_UpdateJoysticks"
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_UpdateJoysticks"
---

# SDL\_UpdateJoysticks(3)

Update the current state of the open joysticks.

## NAME

SDL\_UpdateJoysticks - Update the current state of the open joysticks.

## HEADER FILE

Defined in SDL3/SDL\_joystick.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**void SDL\_UpdateJoysticks(void);**

## DESCRIPTION

This is called automatically by the event loop if any joystick events are enabled.

## AVAILABILITY

This function is available since SDL 3.2.0.
