mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
webxr: Update XRInputSource Gamepad handling, FakeXRInputController (#33403)
* Disconnect XRInputSource gamepads on removal Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update Cargo.lock Signed-off-by: Daniel Adams <msub2official@gmail.com> * Comments, adjustments Signed-off-by: Daniel Adams <msub2official@gmail.com> * Update expectations Signed-off-by: Daniel Adams <msub2official@gmail.com> --------- Signed-off-by: Daniel Adams <msub2official@gmail.com>
This commit is contained in:
parent
d9be9d6bd4
commit
08a4d751d7
11 changed files with 84 additions and 29 deletions
|
@ -23,8 +23,8 @@ interface FakeXRInputController {
|
|||
undefined endSelection();
|
||||
undefined simulateSelect();
|
||||
|
||||
// void setSupportedButtons(sequence<FakeXRButtonStateInit> supportedButtons);
|
||||
// void updateButtonState(FakeXRButtonStateInit buttonState);
|
||||
undefined setSupportedButtons(sequence<FakeXRButtonStateInit> supportedButtons);
|
||||
[Throws] undefined updateButtonState(FakeXRButtonStateInit buttonState);
|
||||
};
|
||||
|
||||
dictionary FakeXRInputSourceInit {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue