webxr: Update XRInputSource interface to latest spec (#33155)

* Update XRInputSource interface to latest spec

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Bump webxr version

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Add missing spec link

Signed-off-by: Daniel Adams <msub2official@gmail.com>

---------

Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
Daniel Adams 2024-08-21 11:26:29 -10:00 committed by GitHub
parent 56280c6242
commit 7501e3e12f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 19 additions and 10 deletions

View file

@ -126,6 +126,7 @@ impl FakeXRInputControllerMethods for FakeXRInputController {
XRTargetRayMode::Gaze => TargetRayMode::Gaze,
XRTargetRayMode::Tracked_pointer => TargetRayMode::TrackedPointer,
XRTargetRayMode::Screen => TargetRayMode::Screen,
XRTargetRayMode::Transient_pointer => TargetRayMode::TransientPointer,
};
self.send_message(MockInputMsg::SetTargetRayMode(t));
}