sciactive / tinygesture

Very small gesture recognizer for JavaScript. Swipe, pan, tap, doubletap, longpress, pinch, and rotate.
https://sciactive.github.io/tinygesture/
Apache License 2.0
202 stars 18 forks source link

Detect number of touch points used #5

Open timtribers opened 5 years ago

timtribers commented 5 years ago

Hi,

Thanks for a great library. Already we are using it in production in a PWA with great results.

I would now like to support some more gestures to enrich what our users can do, specifically a two finger horizontal swipe. Is there any way to tell from the fired event the number of touchpoints used?

Thanks,

hperrin commented 5 years ago

That's awesome to hear that it's working for you! :D There's no way as of now to get the touch points, but I can add that in.

arggh commented 4 years ago

I realize this repo hasn't seen much activity lately, but rotate & pinch would be great :)

hperrin commented 9 months ago

Rotate and pinch are now done.