mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Support profiles
This commit is contained in:
parent
9c34a6585b
commit
e0135fe783
10 changed files with 40 additions and 17 deletions
|
@ -205,13 +205,16 @@ impl FakeXRDeviceMethods for FakeXRDevice {
|
|||
None
|
||||
};
|
||||
|
||||
// XXXManishearth deal with profiles, supportedButtons, selection*
|
||||
let profiles = init.profiles.iter().cloned().map(String::from).collect();
|
||||
|
||||
// XXXManishearth deal with supportedButtons and selection*
|
||||
|
||||
let source = InputSource {
|
||||
handedness,
|
||||
target_ray_mode,
|
||||
id,
|
||||
supports_grip: true,
|
||||
profiles,
|
||||
};
|
||||
|
||||
let init = MockInputInit {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue