Add GetGamepadsForDisplay message for initializing inputs

This commit is contained in:
Manish Goregaokar 2019-04-29 18:16:18 -07:00
parent 0f952c7ff8
commit f98143d60b
2 changed files with 33 additions and 0 deletions

View file

@ -30,5 +30,9 @@ pub enum WebVRMsg {
Vec<u32>,
IpcSender<WebVRResult<Vec<(Option<VRGamepadData>, VRGamepadState)>>>,
),
GetGamepadsForDisplay(
u32,
IpcSender<WebVRResult<Vec<(VRGamepadData, VRGamepadState)>>>,
),
Exit,
}