Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

WebXR Input Event support and Select gesture #2237

Closed
kearwood opened this issue Nov 12, 2019 · 2 comments · Fixed by #2521
Closed

WebXR Input Event support and Select gesture #2237

kearwood opened this issue Nov 12, 2019 · 2 comments · Fixed by #2521

Comments

@kearwood
Copy link
Contributor

To support WebXR in #690, additional fields will be exposed by Gecko in the ShMem struct used to communicate the state of the XR hardware.

WebXR includes support for the XRInputSource interface:

https://immersive-web.github.io/webxr/#xrinputsource-interface

To populate this interface, each platform supported by FxR will need to determine how/when the user is performing the "primary action":

https://immersive-web.github.io/webxr/#primary-action

This will be used generate XRInputSourceEvent events, representing the "select" gesture:

https://immersive-web.github.io/webxr/#xrinputsourceevent

This change will need to be done within the Android project, possibly with platform specific implementations to choose the correct pose for the ray and buttons/inputs used for the primary action.

@jvonitter jvonitter added this to the #7 polish milestone Nov 13, 2019
@daoshengmu
Copy link
Contributor

I can start to investigate it this week.

@daoshengmu daoshengmu self-assigned this Nov 13, 2019
@jvonitter
Copy link
Contributor

please hold off for a bit @daoshengmu. need to prioritize tasks for 7 first.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants