mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
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>
This commit is contained in:
parent
9cfbaf92e5
commit
938fd8c12f
5 changed files with 14 additions and 6 deletions
|
@ -3236,7 +3236,8 @@ impl GlobalScope {
|
|||
"standard".into(),
|
||||
axis_bounds,
|
||||
button_bounds,
|
||||
supported_haptic_effects
|
||||
supported_haptic_effects,
|
||||
false
|
||||
);
|
||||
navigator.set_gamepad(selected_index as usize, &gamepad);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue