SYNOPSIS

#include "SDL.h"

void SDL_JoystickUpdate(void);

DESCRIPTION

Updates the state(position, buttons, etc.) of all open joysticks. If joystick events have been enabled with SDL_JoystickEventState then this is called automatically in the event loop.

RELATED TO SDL_JoystickUpdate…

SDL_JoystickEventState