DOKK / manpages / debian 12 / allegro5-doc / al_get_mouse_num_axes.3alleg5.en
al_get_mouse_num_axes(3alleg5) al_get_mouse_num_axes(3alleg5)

al_get_mouse_num_axes - Allegro 5 API

#include <allegro5/allegro.h>
unsigned int al_get_mouse_num_axes(void)
    

Return the number of axes on the mouse. The first axis is 0.

al_get_mouse_num_buttons(3alleg5)

Allegro reference manual