Re: [sensors] Investigate possibility of synchronizing coordinate systems

@alexshalamov made a point that the feature is specific to sensors that operate in a device coordinate system (currently [motion sensors](https://www.w3.org/2009/dap/#motion-sensors)) and as such is not applicable to [environment sensors](https://www.w3.org/2009/dap/#environment-sensors).

So rather than extending the generic [`SensorOptions`](https://w3c.github.io/sensors/#dictdef-sensoroptions) directly, we'd spec derived dictionaries that inherit from `SensorOptions` per the [example WebIDL](https://w3c.github.io/sensors/#example-webidl), e.g.:

```
dictionary OrientationSensorOptions : SensorOptions {
  boolean syncScreenCoords = false;
};

[Constructor(optional OrientationSensorOptions orientationSensorOptions),
 SecureContext, Exposed=Window]
interface AbsoluteOrientationSensor : OrientationSensor {
};
```

Or alternatively, spec `MotionSensorOptions : SensorOptions` to be reused by all motion sensors.


-- 
GitHub Notification of comment by anssiko
Please view or discuss this issue at https://github.com/w3c/sensors/issues/257#issuecomment-352731406 using your GitHub account

Received on Tuesday, 19 December 2017 12:09:00 UTC