1al_get_joystick_state(3) al_get_joystick_state(3)
23
4
NAME
6al_get_joystick_state - Allegro 5 API
7
SYNOPSIS
9#include <allegro5/allegro.h>
1011
void al_get_joystick_state(ALLEGRO_JOYSTICK *joy, ALLEGRO_JOYSTICK_STATE *ret_state)
12
DESCRIPTION
14Get the current joystick state.
15
SEE ALSO
17ALLEGRO_JOYSTICK_STATE(3), al_get_joystick_num_buttons(3), al_get_joy‐
18stick_num_axes(3)
1920
21
22
Allegro reference manual al_get_joystick_state(3)