mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Add disconnect()/reconnect()
This commit is contained in:
parent
e03fd0ef1c
commit
225254a6b3
2 changed files with 12 additions and 2 deletions
|
@ -69,4 +69,14 @@ impl FakeXRInputControllerMethods for FakeXRInputController {
|
|||
fn ClearGripOrigin(&self) {
|
||||
self.send_message(MockInputMsg::SetGripOrigin(None))
|
||||
}
|
||||
|
||||
/// https://immersive-web.github.io/webxr-test-api/#dom-fakexrinputcontroller-disconnect
|
||||
fn Disconnect(&self) {
|
||||
self.send_message(MockInputMsg::Disconnect)
|
||||
}
|
||||
|
||||
/// https://immersive-web.github.io/webxr-test-api/#dom-fakexrinputcontroller-reconnect
|
||||
fn Reconnect(&self) {
|
||||
self.send_message(MockInputMsg::Reconnect)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue