Bug 273960

Summary: Add Gyroscope API to iPhone and iPad
Product: WebKit Reporter: Jeffrey Blanz <possum.bracing0v>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Major CC: annevk, marcosc, possum.bracing0v
Priority: P2    
Version: Safari 17   
Hardware: iPhone / iPad   
OS: iOS 17   
URL: https://w3c.github.io/gyroscope/

Jeffrey Blanz
Reported 2024-05-09 10:49:36 PDT
Some games use gyroscope controls for aiming. This is not possible on safari due to the lack of the Gyroscope API. The standard is here: https://developer.mozilla.org/en-US/docs/Web/API/Gyroscope
Attachments
Alexey Proskuryakov
Comment 1 2024-05-09 13:01:21 PDT
As far as I can tell, we don't have a standards position issue open at this time.
Marcos Caceres
Comment 2 2024-05-14 07:07:09 PDT
I think you can use the device orientation API: developer.mozilla.org/en-US/docs/Web/API/Device_orientation_events/Detecting_device_orientation It relies on the gyroscope to get the device’s orientation.
Marcos Caceres
Comment 3 2024-05-14 07:15:15 PDT
Marcos Caceres
Comment 4 2024-05-14 07:16:50 PDT
It’s highly likely we will “oppose” this specification as it’s duplicative of what the Device Orientation and Motion specification already provides (as far as I can tell).
Note You need to log in before you can comment on or make changes to this bug.