SDL_JoystickUpdate(3) SDL API Reference SDL_JoystickUpdate(3)

SDL_JoystickUpdate - Updates the state of all joysticks

#include "SDL.h"
void SDL_JoystickUpdate(void);

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.

SDL_JoystickEventState
Tue 11 Sep 2001, 23:00 SDL