Scroll to navigation

al_get_mouse_num_buttons(3alleg5) al_get_mouse_num_buttons(3alleg5)

NAME

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(3alleg5)

Allegro reference manual