RE: New DeviceOrientationEvent.absolute property

Could you please elaborate a little more on your comment.

Claes

> -----Original Message-----
> From: Kirk Crist [mailto:kcrist@comcast.net]
> Sent: den 4 september 2010 14:00
> To: Nilsson, Claes1
> Subject: Re: New DeviceOrientationEvent.absolute property
> 
> it will never work
> ----- Original Message -----
> From: "Nilsson, Claes1" <Claes1.Nilsson@sonyericsson.com>
> To: "Steve Block" <steveblock@google.com>; "public-geolocation"
> <public-geolocation@w3.org>
> Cc: "Dean Jackson" <dino@apple.com>
> Sent: Friday, September 03, 2010 10:06 AM
> Subject: RE: New DeviceOrientationEvent.absolute property
> 
> 
> 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 Monday, 6 September 2010 08:43:07 UTC