Read the full story https://www.w3.org/blog/news/archives/6307?pk_campaign=feed&pk_kwd=first-public-working-draft-orientation-sensor
The Device and Sensors Working Group has published a Working Draft of Orientation Sensor. This specification defines a base orientation sensor interface and concrete sensor subclasses to monitor the device’s physical orientation in relation to a stationary three dimensional Cartesian coordinate system.