mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add GetGamepadsForDisplay message for initializing inputs
This commit is contained in:
parent
0f952c7ff8
commit
f98143d60b
2 changed files with 33 additions and 0 deletions
|
@ -30,5 +30,9 @@ pub enum WebVRMsg {
|
|||
Vec<u32>,
|
||||
IpcSender<WebVRResult<Vec<(Option<VRGamepadData>, VRGamepadState)>>>,
|
||||
),
|
||||
GetGamepadsForDisplay(
|
||||
u32,
|
||||
IpcSender<WebVRResult<Vec<(VRGamepadData, VRGamepadState)>>>,
|
||||
),
|
||||
Exit,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue