Multitouch support demoed in Firefox

The never-tiring folks at Mozilla are already hard at work on imple­ment­ing mul­ti­touch events in Firefox. Felipe Gomes has posted a short demon­stra­tion of very cool mul­ti­touch capa­bil­i­ties via a few sim­ple use cases. Here is the clip and a few words from the man himself.

We’re work­ing on expos­ing the mul­ti­touch data from the sys­tem to reg­u­lar web pages through DOM Events, and all of these demos are built on top of that. … We have three new DOM events (MozTouchDown, MozTouchMove and MozTouchRelease), which are sim­i­lar to mouse events, except that they have a new attribute called streamId that can uniquely iden­tify the same fin­ger being tracked in a series of MozTouch events.


They are also adding CSS sup­port to allow styling for touch-enabled devices. However, strangely they’re using a pseudo-selector :-moz-system-metric(touch-enabled) instead of CSS media prop­erty. Then again, this is just the first draft, things are bound to change before this comes to a Firefox near you.

In any case, this some very cool stuff. Between Windows 7’s sup­port for multi-touch, falling tablet prices, not to men­tion the rumored Apple tablet and the gen­eral surge of touch devices in the mar­ket­place, it’s a great time to start adding some mul­ti­touch sup­port to apps that never had it before and basi­cally just play­ing around with them, see­ing what we can do with them. After all, resiz­ing and crop­ping images are fairly lim­ited use cases, but when main­stream desk­top apps (such as Firefox) have mul­ti­touch, plenty of peo­ple will come up with whole new ways to do famil­iar things, or just ways to do things we’ve never even thought of.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>