logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_set_mouse_axis - Allegro 5 API

Description

       Set the given mouse axis to the given value.

       The axis number must not be 0 or 1, which are the X and Y axes.  Use al_set_mouse_xy(3alleg5) for that.

       Returns true on success, false on failure.

Name

       al_set_mouse_axis - Allegro 5 API

See Also

al_set_mouse_xy(3alleg5), al_set_mouse_z(3alleg5), al_set_mouse_w(3alleg5)

Allegro reference manual                                                              al_set_mouse_axis(3alleg5)

Synopsis

              #include <allegro5/allegro.h>

              bool al_set_mouse_axis(int which, int value)

See Also