1al_get_mouse_state_axis(3) Library Functions Manual al_get_mouse_state_axis(3)
2
3
4
6 al_get_mouse_state_axis
7
9 #include <allegro5/allegro.h>
10
11 int al_get_mouse_state_axis(const ALLEGRO_MOUSE_STATE *state, int axis)
12
14 Extract the mouse axis value from the saved state. The axes are num‐
15 bered from 0, in this order: x-axis, y-axis, z-axis, w-axis.
16
18 ALLEGRO_MOUSE_STATE(3), al_get_mouse_state(3), al_mouse_button_down(3)
19
20
21
22Allegro reference manual al_get_mouse_state_axis(3)