Record ALLEGRO_TOUCH_EVENT

Hierarchy
Methods
Properties

Unit

Declaration

type ALLEGRO_TOUCH_EVENT = record

Description

Contains the touch input events information.

See also
ALLEGRO_EVENT
An ALLEGRO_EVENT is an union of all builtin event structures, i.e.

Overview

Fields

ftype: ALLEGRO_EVENT_TYPE;
source: AL_POINTER;
timestamp: AL_DOUBLE;
display: AL_POINTER;
id: AL_INT;
x: AL_DOUBLE;
y: AL_DOUBLE;
dx: AL_DOUBLE;
dy: AL_DOUBLE;
primary: AL_BOOL;

Description

Fields

ftype: ALLEGRO_EVENT_TYPE;

Indicates the type of event.

source: AL_POINTER;

The event source which generated the event.

timestamp: AL_DOUBLE;

When the event was generated.

display: AL_POINTER;

The display which was touched.

id: AL_INT;

An identifier for this touch. If supported by the device it will stay the same for events from the same finger until the touch ends.

x: AL_DOUBLE;

The coordinate of the touch in pixels.

y: AL_DOUBLE;

The coordinate of the touch in pixels.

dx: AL_DOUBLE;

Movement speed in pixels.

dy: AL_DOUBLE;

Movement speed in pixels.

primary: AL_BOOL;

Whether this is the only/first touch or an additional touch.


Generated by PasDoc 0.15.0. Generated on 2024-11-10 15:15:06.