1al_mouse_button_down(3) al_mouse_button_down(3)
23
4
NAME
6al_mouse_button_down - Allegro 5 API
7
SYNOPSIS
9#include <allegro5/allegro.h>
1011
bool al_mouse_button_down(const ALLEGRO_MOUSE_STATE *state, int button)
12
DESCRIPTION
14Return true if the mouse button specified was held down in the state
15specified. Unlike most things, the first mouse button is numbered 1.
16
SEE ALSO
18ALLEGRO_MOUSE_STATE(3), al_get_mouse_state(3), al_get_mouse_state_ax‐
19is(3)
2021
22
23
Allegro reference manual al_mouse_button_down(3)