al_get_mouse_num_buttons(3alleg5) | al_get_mouse_num_buttons(3alleg5) |
al_get_mouse_num_buttons - Allegro 5 API
#include <allegro5/allegro.h> unsigned int al_get_mouse_num_buttons(void)
Return the number of buttons on the mouse. The first button is 1.
Allegro reference manual |