al_get_joystick_num_buttons - Man Page
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
Referenced By
al_get_joystick_button_name(3), al_get_joystick_num_sticks(3), al_get_joystick_state(3).
Allegro reference manual