mikolalysenko / mouse-change

Mouse state change listener
https://mikolalysenko.github.io/mouse-change
MIT License
15 stars 1 forks source link

Touch support? #1

Open dy opened 7 years ago

dy commented 7 years ago

Hi @mikolalysenko!

In order to make @plotly work ok on iOS devices (#280) it takes handling touches properly in gl-plot3d.

For that it needs enabling touchstart, touchmove and touchend events and proper detecting x/y coords here, similar to this.

How do you think is there any sense in extending mouse-* modules to cover touch events?

mikolalysenko commented 7 years ago

I think the better way to do this would be to create some new modules (maybe call them pointer-*?) which combine these features.