.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_get_mouse_state_axis" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_mouse_state_axis - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include int al_get_mouse_state_axis(const ALLEGRO_MOUSE_STATE *state, int axis) \f[R] .fi .SH DESCRIPTION .PP Extract the mouse axis value from the saved state. The axes are numbered from 0, in this order: x-axis, y-axis, z-axis, w-axis. .SH SEE ALSO .PP ALLEGRO_MOUSE_STATE(3alleg5), al_get_mouse_state(3alleg5), al_mouse_button_down(3alleg5)