SYNOPSIS

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

DESCRIPTION

Return the number of axes on the given "stick". If the stick doesn\[aq]t exist, 0 is returned.

RELATED TO al_get_joystick_num_axes…

al_get_joystick_num_sticks(3alleg5)