al_get_mouse_num_buttons

unsigned int al_get_mouse_num_buttons(void)
Introduced in 5.0.0

Return the number of buttons on the mouse. The first button is 1.

See also: al_get_mouse_num_axes

Examples: ex_mouse_events