DOKK / manpages / debian 10 / allegro5-doc / al_get_touch_input_state.3alleg5.en
al_get_touch_input_state(3alleg5) al_get_touch_input_state(3alleg5)

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(3alleg5) you provide to this function.

5.1.0

Allegro reference manual