开发者

Multi-touch gestures in webapp on desktop

开发者 https://www.devze.com 2023-03-16 04:39 出处:网络
I\'m developing online map(like google maps) of cool fantasy world.I\'m also use OS X on my main computer. Since OS X(especially Lion) are focused on different multi-touch gestures because almost of a

I'm developing online map(like google maps) of cool fantasy world. I'm also use OS X on my main computer. Since OS X(especially Lion) are focused on different multi-touch gestures because almost of all mac users have a multi-touch input device(magic mouse or trackpad) I want to开发者_如何学JAVA add support of pinch gesture to my online map(two-finger scroll would be cool to add too). Is it possible to do it? It's not bad if it will work only in some specific browser or web engine.


According to this question, it looks like firefox offers some support for multitouch gestures (see here), but other major browsers do not.


recently I've been developing webapplication for iPad using my PC and Chrome, it used a pinch feature. I found a way how to emulate touch and multi-touch feature on a desktop browser, posted my results on github here https://github.com/dgolovanev/mxTouch still does not supports predefined gestures but can handle touch and multi-touch events, hope it will be helpful

0

精彩评论

暂无评论...
验证码 换一张
取 消