Table of Contents

Interface ITouchInput

Namespace
Icy.Input.Devices
Assembly
IcyUI.dll

Represents a touch device listener that reports raw touch contacts.

public interface ITouchInput : IInputDeviceListener, IInitializable
Inherited Members
Extension Methods

Properties

Contacts

Gets the touch contacts of the current input update.

IReadOnlyList<TouchContact> Contacts { get; }

Property Value

IReadOnlyList<TouchContact>

Remarks

The snapshot is refreshed once per input update. Every active contact appears in every snapshot - as Moved when it didn't move - until the single snapshot that reports it Released. A tracked contact missing from a snapshot is treated as canceled.

Gestures (tap, hold, drag, pinch) are recognized in core from this snapshot - see IGestureEvents.