w3c / deviceorientation

W3C Device Orientation spec
https://www.w3.org/TR/orientation-event/
Other
49 stars 32 forks source link

DeviceMotionEvent: Add a note about acceleration properties. #97

Closed rakuco closed 3 years ago

rakuco commented 3 years ago

See #96 for an example of how these attributes can be confusing, especially given accelerationIncludingGravity's name.

Add a note with a reference to what exactly that property measures, and refence the Motion Sensors Explainer. It contains a more detailed explanation about Accelerometer and LinearAccelerationSensor, which is exactly the difference between the accelerationIncludingGravity and acceleration attributes.


Preview | Diff

rakuco commented 3 years ago

cc @reillyeon

rakuco commented 3 years ago

Hmm, I don't think I have write access to this repo, so someone needs to squash and merge this PR.