WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
273960
Add Gyroscope API to iPhone and iPad
https://bugs.webkit.org/show_bug.cgi?id=273960
Summary
Add Gyroscope API to iPhone and iPad
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
Add attachment
proposed patch, testcase, etc.
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
Filed standards position request:
https://github.com/WebKit/standards-positions/issues/347
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.
Top of Page
Format For Printing
XML
Clone This Bug