1681-engine / index / AimGestureOptions
Interface: AimGestureOptions ​
Defined in: src/input/AimGesture.ts:21
Properties ​
centre? ​
optional centre?: number;Defined in: src/input/AimGesture.ts:35
Inside this share of the radius the knob is back on the button (default 0.2).
centreCancels? ​
optional centreCancels?: boolean;Defined in: src/input/AimGesture.ts:27
The knob let go back on the button cancels rather than casting as a tap (default true).
earlySlop? ​
optional earlySlop?: number;Defined in: src/input/AimGesture.ts:31
The slop in a press's first pressMs (default 28).
pressMs? ​
optional pressMs?: number;Defined in: src/input/AimGesture.ts:33
How long a press is "landing" (default 180 ms).
radius ​
radius: number;Defined in: src/input/AimGesture.ts:23
The circle's radius, in the same units as the thumb's offsets (CSS px).
sensitivity? ​
optional sensitivity?: number;Defined in: src/input/AimGesture.ts:25
Scales the thumb's travel into the knob's (a sensitivity setting); the slops stay the thumb's own (default 1).
tapSlop? ​
optional tapSlop?: number;Defined in: src/input/AimGesture.ts:29
How far the thumb may wander before a press is a drag (default 10).