- From: Nilsson, Claes1 <Claes1.Nilsson@sonyericsson.com>
- Date: Fri, 3 Sep 2010 16:06:52 +0200
- To: Steve Block <steveblock@google.com>, public-geolocation <public-geolocation@w3.org>
- CC: Dean Jackson <dino@apple.com>
This sounds reasonable. Regards Claes > -----Original Message----- > From: public-geolocation-request@w3.org [mailto:public-geolocation- > request@w3.org] On Behalf Of Steve Block > Sent: den 3 september 2010 12:49 > To: public-geolocation > Cc: Dean Jackson > Subject: New DeviceOrientationEvent.absolute property > > Dean has suggested adding a flag to the DeviceOrientationEvent to > indicate whether or not the orientation values are absolute, as > opposed to being only relative. A device without a compass may be able > to provide only the latter, but this could still be of use in some > applications. > > I propose adding a new 'absolute' property ... > > interface DeviceOrientationEvent { > readonly attribute boolean? absolute; > ... > } > > If there are no further comments, I'll add this to the spec. > > Thanks, > Steve > > > >>> Along these lines, I wonder if DeviceOrientation should have a flag > to indicate whether or not it is real > >>> world accurate. For example, some hardware might be able to > accurately return orientation changes > >>> but not have a compass. This is still extremely useful in games, > where they don't necessarily care > >>> about real-world orientation, but rather the change in orientation. > > >> Good point. Would this use case be solved by the rotation rate data > >> we've added to DeviceMotionEvent? > > > Sort of, but the DeviceOrientationEvent is much easier to use. I feel > bad because I proposed it, but in most > > cases the gyro change data is too low-level - all you care about is > the current orientation :) I'm sure there > > are games that will use gyro rotation rates, but it would be very > nice to have a flag on the > > DeviceOrientationEvent. > > > -- > Google UK Limited > Registered Office: Belgrave House, 76 Buckingham Palace Road, London > SW1W 9TQ > Registered in England Number: 3977902
Received on Friday, 3 September 2010 14:07:28 UTC