1ALLEGRO_TOUCH_STATE(3)                                  ALLEGRO_TOUCH_STATE(3)
2
3
4

NAME

6       ALLEGRO_TOUCH_STATE - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              typedef struct ALLEGRO_TOUCH_STATE ALLEGRO_TOUCH_STATE;
12

DESCRIPTION

14       This  is  a structure that is used to hold a “snapshot” of a touch at a
15       particular instant.
16
17       Public fields (read only):
18
19       • id - identifier of the touch.  If the touch is valid, this  is  posi‐
20         tive.
21
22       • x - touch x position
23
24       • y - touch y position
25
26       • dx - touch relative x position
27
28       • dy - touch relative y position
29
30       • primary  -  TRUE  if this touch is the primary one (usually the first
31         one).
32
33       • display - The ALLEGRO_DISPLAY(3) that was touched.
34

SINCE

36       5.1.0
37
38
39
40Allegro reference manual                                ALLEGRO_TOUCH_STATE(3)
Impressum