al_get_mouse_num_buttons man page

al_get_mouse_num_buttons — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

unsigned int al_get_mouse_num_buttons(void)

Description

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

See Also

al_get_mouse_num_axes(3)

Referenced By

al_get_mouse_num_axes(3).

Allegro reference manual