You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A quick test shows that AbsoluteOrientationSensor does not exist on a Macbook Pro. I may be the only human on the planet that reads comics on a laptop in portrait mode, but I'd still want to support this feature on desktop, if possible.
codedread
changed the title
Use Gyroscope Sensor API to automatically detect orientation
Use Sensor API to automatically detect orientation
Aug 13, 2022
... or equivalent. Research to do:
https://web.dev/generic-sensor/
https://w3c.github.io/gyroscope/#gyroscope-interface
https://developer.mozilla.org/en-US/docs/Web/API/AbsoluteOrientationSensor#permissions_example
https://caniuse.com/?search=sensor%20api
The text was updated successfully, but these errors were encountered: