Multiple pointer events on multi-touch trackpads

Hi!

With all this efforts around multi-touch touch screens I wonder when
there will be also support for multi-touch trackpads for driving the
desktop web app content? So Apple had for quite some time Magic
Trackpad, a multi-touch trackpad, and also now Force Touch Trackpad.
It is really sad to see how none of those capabilities can be used by
desktop web applications. The only "gesture" events you get is
scrolling up and down.

But imagine that you could pinch and zoom in our out in Google Maps on
desktop. My laptop supports that, my OS supports that. Only things do
not get through browser barrier into the web application.

What would be the best way to provide that in browsers? That
multi-touch trackpads would be exposed as multiple pointer events? And
then you would compute the gestures in JavaScript?

Or that gesture events themselves would be offered? So pinch gesture
while your mouse pointer is over a DOM element would send "pinch in"
event to that DOM element?


Mitar

-- 
http://mitar.tnode.com/
https://twitter.com/mitar_m

Received on Wednesday, 13 May 2015 21:35:21 UTC