ALLEGRO_TOUCH_STATE(3) ALLEGRO_TOUCH_STATE(3) NAME ALLEGRO_TOUCH_STATE - Allegro 5 API SYNOPSIS #include typedef struct ALLEGRO_TOUCH_STATE ALLEGRO_TOUCH_STATE; DESCRIPTION This is a structure that is used to hold a "snapshot" of a touch at a particular instant. Public fields (read only): o id - identifier of the touch. If the touch is valid, this is positive. o x - touch x position o y - touch y position o dx - touch relative x position o dy - touch relative y position o primary - TRUE if this touch is the primary one (usually the first one). o display - The ALLEGRO_DISPLAY(3) that was touched. SINCE 5.1.0 Allegro reference manual ALLEGRO_TOUCH_STATE(3)