mudcube / Event.js

:hand: Multi-touch, gestures, and other events—click, dblclick, dbltap, tap, longpress, drag, swipe, pinch, rotate, shake. For pointer events, each listener can handle anywhere from 1 to 12 fingers at a time, or more, depending on the device. Includes MetaKey tracking (CMD, CTRL) to support native key-commands in various platforms.
MIT License
368 stars 68 forks source link

Add Orientation event and update basic-gestures demo. #4

Closed rykerwilliams closed 9 years ago

rykerwilliams commented 11 years ago

Update: 9/28/2103 Backed out shake.js changes. I will leave that to you. Any feedback welcome thanks!

Update shake to use acceleration and accelerationIncludingGravity if rotationRate is present. Also add new build of Event.js and Event.min.js.

Not sure if I made the file structure correct or if this is even need by the main line project, but I wanted to offer you my updates. I made these changes in support of my custom build of fabric.js.

Thanks!