Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multi-touch gestures in webapp on desktop

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 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.

like image 637
XRazont Avatar asked Jun 30 '11 08:06

XRazont


2 Answers

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

like image 109
Dr. Acula Avatar answered Oct 21 '22 05:10

Dr. Acula


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

like image 26
Dmitry Avatar answered Oct 21 '22 07:10

Dmitry