Firefox is producing this warning on the `window.addEventListener('deviceorientation', onDeviceOrientation);` line:
> Use of the orientation sensor is deprecated.
No further information. I see no mention of deprecation at https://developer.mozilla.org/en-US/docs/Web/API/Window/devi..., so I’m not sure of the true state of affairs. It could have been accidentally tagged along with other functionality that is deprecated.
I've written a simple move the ball to a hole game, with simple physics, using this features. One thing I had to take in account is when you flip your phone, the values are inverted.
> Use of the orientation sensor is deprecated.
No further information. I see no mention of deprecation at https://developer.mozilla.org/en-US/docs/Web/API/Window/devi..., so I’m not sure of the true state of affairs. It could have been accidentally tagged along with other functionality that is deprecated.