logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_get_joystick_state - Allegro 5 API

Description

       Get the current joystick state.

Name

       al_get_joystick_state - Allegro 5 API

See Also

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

Allegro reference manual                                                          al_get_joystick_state(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              void al_get_joystick_state(ALLEGRO_JOYSTICK *joy, ALLEGRO_JOYSTICK_STATE *ret_state)

See Also