Skip to content

Conversation

@felixtrz
Copy link
Contributor

Add assets for the oculus-hand profile to enable CDN distribution and developer usage.

The oculus-hand profile has existed in the registry (packages/registry/profiles/oculus/oculus-hand.json) but was never exposed through the assets package. Without corresponding assets, the profile cannot be built into the distribution and remains unavailable on the CDN, making it effectively unusable by developers (it is not available from https://cdn.jsdelivr.net/npm/@webxr-input-profiles/assets@1.0.20/dist/profiles/profilesList.json).

Changes

  • Added packages/assets/profiles/oculus-hand/profile.json configuration
  • Added left.glb and right.glb hand models (reused from generic-hand)
  • The profile will now be included in the built profilesList.json and distributed via CDN

Why reuse generic-hand models?

The oculus-hand profile is designed for hand tracking (not physical controllers), and the existing generic-hand models provide appropriate visual representation. The profile defines hand gesture inputs including:

  • Pinch select (xr-standard-trigger)
  • Swipe gestures (left, right, forward, backward)
  • Tap-thumb gesture
  • Menu button (left hand only)

Impact

Developers working with Oculus/Meta hand tracking can now load and visualize the oculus-hand profile through the standard WebXR input profiles library and CDN.

@cabanier
Copy link
Member

I believe we skipped this profile for a reason. The oculus-hand profile is identical to generic-hand which is the fallback profile.
It's unfortunate that we added this profile because it doesn't add any new information.

@cabanier cabanier self-requested a review November 18, 2025 17:03
@felixtrz
Copy link
Contributor Author

felixtrz commented Nov 19, 2025

@cabanier I see, this may be the case when we added this profile, but now it does add new information - it has the gestures in the gamepad buttons array which the generic-hand doesn't have; so by skipping this, developers will never have access to the gesture button mapping.

@cabanier
Copy link
Member

Can you make it so that you grab the profiles from generic-hand?
That way you are pointing to the same assets and you won't have to add new glb's

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants