al_get_joystick_state(1) Allegro 5 API

SYNOPSIS


#include <allegro5/allegro.h>
void al_get_joystick_state(ALLEGRO_JOYSTICK *joy, ALLEGRO_JOYSTICK_STATE *ret_state)

DESCRIPTION

Get the current joystick state.