- From: Reilly Grant via GitHub <sysbot+gh@w3.org>
- Date: Tue, 05 Mar 2024 02:30:50 +0000
- To: public-device-apis-log@w3.org
Agreed, a flat structure would only have one way to represent "no accelerometer" while the current design has two. I'm going to amend my previous statement however because I was wrong about what implementations do in the case where a sensor is not available. The specification steps would generate an event as I described but reading the Chromium and Gecko code I believe they would generate default-initialized `DeviceMotionEventAcceleration` and `DeviceMotionEventRotationRate` objects instead. @rakuco, can you double-check me on that and if so the specification needs to be updated. This issue could then be closed because there won't be any use for an event initialized this way. -- GitHub Notification of comment by reillyeon Please view or discuss this issue at https://github.com/w3c/deviceorientation/issues/91#issuecomment-1977836488 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 5 March 2024 02:30:51 UTC