al_get_touch_input_state(3) al_get_touch_input_state(3)

al_get_touch_input_state - Allegro 5 API

#include <allegro5/allegro.h>
void al_get_touch_input_state(ALLEGRO_TOUCH_INPUT_STATE *ret_state)

Gets the current touch input state. The touch information is copied into the ALLEGRO_TOUCH_INPUT_STATE(3) you provide to this function.

5.1.0

Allegro reference manual