Allegro 5 api
#include <allegro5/allegro.h> enum ALLEGRO_JOYFLAGS
ALLEGRO_JOYFLAG_DIGITAL - the stick provides digital input
ALLEGRO_JOYFLAG_ANALOGUE - the stick provides analogue input
(this enum is a holdover from the old API and may be removed)
al_get_joystick_stick_flags(3alleg5)