Allegro 5 api
#include <allegro5/allegro.h> typedef struct ALLEGRO_JOYSTICK ALLEGRO_JOYSTICK;
This is an abstract data type representing a physical joystick.
al_get_joystick(3alleg5)