al_set_mouse_axis(3)

al_set_mouse_axis3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
bool al_set_mouse_axis(int which, int value)

Overview

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(3) for that.

Returns true on success, false on failure.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.