Project Description
Hand.js: a polyfill for supporting pointer events on every browser

Starting in September 2012, Microsoft proposed a specification for unifying touch, pen and mouse events called pointer events.

Currently this specification is a…draft :). So modern browsers are not supporting it right now. Only Internet Explorer 10 (obviously !) supports it through vendor prefixes.

Hand.js is a polyfill that will allow you to write your code about touch only once even if the browser does not support pointer events.

Write once, use it everywhere! Don't bother with mouse and touch events. Pointer events are here for you.

You can find a test page right here: http://www.catuhe.com/msdn/handjs/index.html

I also wrote a complete blog about hand.js: http://blogs.msdn.com/b/eternalcoding/archive/2013/01/16/hand-js-a-polyfill-for-supporting-pointer-events-on-every-browser.aspx

Another article about pointer events and hand.js: http://blogs.msdn.com/b/davrous/archive/2013/02/20/handling-touch-in-your-html5-apps-thanks-to-the-pointer-events-of-ie10-and-windows-8.aspx

Last edited Feb 20 at 2:24 PM by Deltakosh, version 4