-
Notifications
You must be signed in to change notification settings - Fork 220
Replace Gamepad id from "Gear VR Controller" to Oculus Go/HTC HTC Vive Focus controllers #981
Replace Gamepad id from "Gear VR Controller" to Oculus Go/HTC HTC Vive Focus controllers #981
Conversation
Be aware this was done for compatibility reasons. So make sure changing it doesn't break some of existing immersive web sites. |
We should also update the string exposed for the HTC Vive Focus controller. Per aframevr/aframe#3876 (https://github.com/aframevr/aframe/pull/3876/files#diff-0cf01d3ef4445863595ddf0ff798ecfbR11) it should be corrected to 'HTC Vive Focus Controller' at https://github.com/MozillaReality/FirefoxReality/blob/master/app/src/wavevr/cpp/DeviceDelegateWaveVR.cpp#L302 . |
For reference: #441 |
dfb5a13
to
1c6d0b1
Compare
I begin to worry about that will affect content that didn't use A-Frame or didn't follow its latest update. I guess we do need more opinions from @cvan . |
I'll log an issue to consider a compatibility setting in the UI. If we continue incorrectly sending Gear VR as the identifier, we'll continue to diverge in webcompat from the Oculus browser. We can potentially sniff older AFrame versions before the Oculus Go controller and HTC Vive Focus controller strings were added. |
I agree that we should report the same
Assuming we can't reach out to the site owners of the more popular A-Frame experiences (e.g., the ones in the Content Feed), ensuring backwards compatibility with older A-Frame versions I don't think is a reasonable expectation. On a related note, see this comment I made about
|
So as to not break Soundboxing (and likely other WebVR experiences I'm not aware of), we should probably wait before merging this. I've emailed the Soundboxing staff asking them to upgrade to A-Frame version 0.9.0 and to use the |
Let's wait to merge this until @cvan confirms that the content feed demos are ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 nice work. this looks good to ship.
I haven't found any WebCompat issues in any of the following WebVR experiences I've tested. with your change, these all worked:
- Delight-VR video player (and in fact, the controller mesh graphic is now correctly an Oculus Go controller instead of a Samsung Gear VR controller 👍)
- WITHIN
- PanoMoments (doesn't require a Gamepad)
- Sketchfab (and in fact, the controller mesh graphic is now correctly an Oculus Go controller instead of a Samsung Gear VR controller 👍)
- EFF's Spot the Surveillance (doesn't require a Gamepad)
- Pristine
- Jingle Smash
- Vuppets
- Hallovreen (doesn't require a Gamepad)
- Soundboxing
@cvan Have you also tested the controller change in HTC Vive focus? |
Per #812, we should use the same gamepad id,
Oculus Go Controller
, as other browsers when running in Oculus Go display.