DOKK / manpages / debian 10 / allegro5-doc / al_get_joystick_stick_flags.3alleg5.en
al_get_joystick_stick_flags(3alleg5) al_get_joystick_stick_flags(3alleg5)

al_get_joystick_stick_flags - Allegro 5 API

#include <allegro5/allegro.h>
int al_get_joystick_stick_flags(ALLEGRO_JOYSTICK *joy, int stick)
    

Return the flags of the given “stick”. If the stick doesn't exist, NULL is returned. Indices begin from 0.

ALLEGRO_JOYFLAGS(3alleg5)

Allegro reference manual