Provided by: allegro5-doc_5.2.8.0+dfsg-1_all bug

NAME

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

SEE ALSO

       ALLEGRO_JOYSTICK_STATE(3alleg5),                     al_get_joystick_num_buttons(3alleg5),
       al_get_joystick_num_axes(3alleg5)