DOKK / manpages / debian 13 / libsdl3-doc / SDL_UpdateJoysticks.3.en
SDL_UpdateJoysticks(3) SDL3 FUNCTIONS SDL_UpdateJoysticks(3)

SDL_UpdateJoysticks - Update the current state of the open joysticks.

Defined in SDL3/SDL_joystick.h

#include "SDL3/SDL.h"
void SDL_UpdateJoysticks(void);

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

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer