emberjs-addons / ember-touch

A lightweight library for building and using touch gestures with Ember Applications
MIT License
182 stars 28 forks source link

Translating mouse events into touch events #23

Open RVenkatesh opened 10 years ago

RVenkatesh commented 10 years ago

Add the required objects[touches, changedTouches, targetTouches] inside the event object generated by the mouse events and relay them as touch. This causes the gestures to be handled in desktop browsers just the same way like they are handled in the touch devices.