W3C home > Mailing lists > Public > public-geolocation@w3.org > November 2015

Update regarding Device Orientation Specification.

From: Tim Volodine <timvolodine@google.com>
Date: Sat, 14 Nov 2015 05:06:16 +0000
Message-ID: <CAJv4RS3bLRLDCX3vHK_YPCJenHk2jGXUhKMhTQzY_B7ytwFhWA@mail.gmail.com>
To: public-geolocation <public-geolocation@w3.org>
DeviceOrientation Event Specification (
http://w3c.github.io/deviceorientation/spec-source-orientation.html) has
been amended with the following changes:
- added 'deviceorientationabsolute' event,
- the already existing 'deviceorientation' event is now 'relative' by
default.

The idea is that 'deviceorientationabsolute' event can be used in Augmented
Reality applications (when the direction of the magnetic north is
important). While the 'deviceorientation' event would be suitable for
Virtual Reality applications or games.

In particular the reasons behind this change are the following:
- compatibility of 'deviceorientation' with Safari on iOS (where it is
'relative' by default).
- 'deviceorientation' does not require magnetometer anymore and is not
distorted by potential external magnetic field.
- usability of 'deviceorientation' for VR applications (e.g. no 'sensor
drift' which occurred in the previous 'absolute' implementation)

These changes have been implemented in Chrome for Android but are currently
in 'experimental' state, i.e. not yet enabled by default.

thanks,
Tim
Received on Saturday, 14 November 2015 05:14:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:51:12 UTC