title: Detect mobile device rotation with jQuery
body: <p>I am searching for a jQuery-plugin or Javascript-library that detects the rotation of a device in degrees, not just orientation, using the G-sensor. I know it can be done - check <a href="http://wagerfield.github.io/parallax/" rel="nofollow">http://wagerfield.github.io/parallax/</a> - but I haven't managed to find something like this yet.</p>
  
  <p>It would be great if it created a kind of global that updates realtime.</p>
  
  <p>Thanks!</p>