SDL_UpdateJoysticks - Man Page

Update the current state of the open joysticks.

Synopsis

#include <SDL3/SDL_joystick.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.

Referenced By

SDL_SetJoystickEventsEnabled(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS