immersive-web / webxr-input-profiles

WebXR Gamepad assets, source library, and schema
https://immersive-web.github.io/webxr-input-profiles
Other
188 stars 49 forks source link

Additional OpenXR-to-WebXR mapping package #81

Open thetuvix opened 4 years ago

thetuvix commented 4 years ago

We can drive further cross-UA conformance for UAs built atop OpenXR. Another package of JSON mappings could map each WebXR input profile to its corresponding OpenXR interaction profile, defining which button/axis index maps to which OpenXR /user path. OpenXR-based UAs could then simply merge in the latest OpenXR mappings once per release to inherit conformant support for all the latest controllers.

Originally posted by @thetuvix in https://github.com/immersive-web/webxr-input-profiles/pull/78

NellWaliczek commented 4 years ago

After talking with @thetuvix about the requirements, it sounds like this would be better as an extension to the existing registry schema rather than a separate package.

One other thing to consider is that there may be value in not special casing OpenXR in the schema, but instead including information about the mappings from each supported native platform.

I'll throw together a couple variants for how this might look and post them for feedback.

NellWaliczek commented 4 years ago

Sample idea is here: https://github.com/immersive-web/webxr-input-profiles/blob/open-xr/packages/registry/profiles/generic/generic-trigger-squeeze-touchpad.json

toji commented 4 years ago

I'd like to bump this to the next release, so that we can make the existing libraries and assets available faster.