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

it does not work with touchpads #1

Open alexbudin opened 5 years ago

alexbudin commented 5 years ago

With a Macbook touchpad or any other touchpad no swipe events register.

alexbudin commented 5 years ago

Its basically missing mousewheel event support.

https://developer.mozilla.org/en-US/docs/Web/Events/wheel

You think this can be implemented?

Thank you.

hperrin commented 5 years ago

Hmm. I think I can support this. It looks like it's pretty different from how touch events work, but simple enough on its own.

danielweck commented 1 year ago

This should give you a pretty good start:

https://github.com/danburzo/ok-zoomer

(and the fork https://github.com/skilitics/two-fingers )