craftyjs/Crafty — pull request #261 by ahilles107 (2012-05-19 10:26:33+00:00)
Title: DeviceOrientation and DeviceMotion events support by Crafty.

Check this out first - http://caniuse.com/#search=device orientation

This PR was tested on chrome 19.0.1061.1 dev and Safari on iPad 2