Scroll to navigation

SDL_UpdateJoysticks(3) SDL3 FUNCTIONS SDL_UpdateJoysticks(3)

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.1.3.

SDL 3.1.6 Simple Directmedia Layer