dovigod / V-Gesture

Other
2 stars 0 forks source link

[Feature] - create interface for VGesture #12

Closed dovigod closed 5 months ago

dovigod commented 5 months ago

Start Date

2024/05/16

Summary

Seems core logics are done. I think its good to go , creating interface to actually use it.

Required interfaces

Basic Example

const vGesture = new VGesture({
 dispatchInterval : number,
 gestureThreshold: number,
 handedness : 'left' | 'right',
helper : {
 indexTip : { size: number, color: string},
 thumbTip : { size: number, color: string},
 triggerPoint: boolean,
...etc?

})

vGesture.enable()
vGesture.disable()

Drawbacks

Nope

Implementation PR

16

Reference Issues

No response