al_get_joystick_num_buttons man page

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)

Referenced By

al_get_joystick_button_name(3), al_get_joystick_num_sticks(3), al_get_joystick_state(3).

Allegro reference manual