aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xrinputsource.rs
diff options
context:
space:
mode:
authorDaniel Adams <70986246+msub2@users.noreply.github.com>2024-09-09 11:07:56 +0000
committerGitHub <noreply@github.com>2024-09-09 11:07:56 +0000
commit938fd8c12fc2489303e12538d3e3585bd771141f (patch)
tree879979efe6034879b80d2d0dc48f1a78e1601f21 /components/script/dom/xrinputsource.rs
parent9cfbaf92e5bc80dca90f1226dbc4cdcfe025eeb3 (diff)
downloadservo-938fd8c12fc2489303e12538d3e3585bd771141f.tar.gz
servo-938fd8c12fc2489303e12538d3e3585bd771141f.zip
webxr: Update XRInputSource gamepad index to be -1 (#33369)
* Update XRInputSource gamepad index to be -1 Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update test expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
Diffstat (limited to 'components/script/dom/xrinputsource.rs')
-rw-r--r--components/script/dom/xrinputsource.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/xrinputsource.rs b/components/script/dom/xrinputsource.rs
index 699c861ab11..8db4fb5dae3 100644
--- a/components/script/dom/xrinputsource.rs
+++ b/components/script/dom/xrinputsource.rs
@@ -55,6 +55,7 @@ impl XRInputSource {
supports_dual_rumble: false,
supports_trigger_rumble: false,
},
+ true,
);
XRInputSource {
reflector: Reflector::new(),