Skip to content

Conversation

@zach-capalbo
Copy link
Contributor

At least in the current version of the WebXR spec, handedness is a property of XRInputSource (xrController), rather than Gamepad.

This leads to an issue discussed on the WebXR Discord chat (https://discord.com/channels/758943204715659264/759166287901098024/856977980219981844) where the controls attach to the wrong hand, even when the correct hand shows up later.

At least in the current version of the WebXR spec, `handedness` is a property of XRInputSource (`xrController`), rather than Gamepad.
@Hypnosphi
Copy link
Contributor

I have built dist with this change in my own fork and can confirm that it fixes the issue on Quest 2

Live example: https://glitch.com/edit/#!/enormous-fire-shop

@micrology
Copy link

Could this PR be merged, please? Or let us know why not.

@vincentfretin
Copy link
Member

This PR is merged in the community fork #5

@vincentfretin vincentfretin merged commit 2298dea into c-frame:master Nov 4, 2022
@vincentfretin
Copy link
Member

The changes are now also in this repo.

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.

4 participants