Talos docs

TouchBinding

Since 0.6

The touch source an action reads: a screen region and what a finger in it does.

Plain text

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
modeTouchModeyesstick, drag, button, tapWhat a finger in the region does (stick, drag, button or tap).
regionTouchRegionyesWhere on the screen the region is, normalised 0..1.
fixedbooleannofalsestick only: measure the deflection from the region's centre rather than from where the finger landed. Default false, a floating stick.
safeAreabooleannotrueWhether region is relative to the platform's safe area (clear of a notch or a home indicator) rather than the whole screen. Default true. A platform that reports no insets has a safe area equal to the whole screen.