SDL_UpdateJoysticks - Man Page

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.

Referenced By

SDL_SetJoystickEventsEnabled(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS