Skip to main content

Interface: GestureEventDetail

Defined in: src/input/gestures/GestureEvents.ts:7

Properties

confidence

confidence: number

Defined in: src/input/gestures/GestureEvents.ts:16

Provider specific confidence score, normalized to [0, 1].


data?

optional data: Record<string, unknown>

Defined in: src/input/gestures/GestureEvents.ts:21

Optional payload for provider specific values (e.g. pinch distance, velocity vectors).


hand

hand: GestureHandedness

Defined in: src/input/gestures/GestureEvents.ts:14

Which hand triggered the gesture.


name

name: string

Defined in: src/input/gestures/GestureEvents.ts:12

The canonical gesture identifier. Built-in gestures map to BuiltInGestureName while custom providers may surface arbitrary strings.