al_get_joystick_stick_flags

int al_get_joystick_stick_flags(ALLEGRO_JOYSTICK *joy, int stick)
Introduced in 5.0.0

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

See also: ALLEGRO_JOYFLAGS


Most helpful discussions: