melonjs/melonJS — pull request #277 by agmcleod (2013-09-11 03:12:08+00:00)
Title: added basic device orientation handling.

Ref #194

Wanted to look at using device orientation for the game im working on. Haven't really done anything with this code yet, but it is giving me data in the same way the accelerometer code does. It's something to start with for now. Having functions of "tilt left" and "tilt right" regardless of device being landscape or portrait could be handy for example.