al_get_joystick_num_buttons(3)

NAME
al_get_joystick_num_buttons - Allegro 5 API

SYNOPSIS

        #include <allegro5/allegro.h>
        int al_get_joystick_num_buttons(ALLEGRO_JOYSTICK *joy)

DESCRIPTION
Return the number of buttons on the joystick.

SEE ALSO
al_get_joystick_num_sticks(3)