Searched refs:trackpad_spec (Results 1 – 2 of 2) sorted by relevance
1536 let mut trackpad_spec = in set_argument() localVariable1539 trackpad_spec.set_width(width.trim().parse().unwrap()); in set_argument()1542 trackpad_spec.set_height(height.trim().parse().unwrap()); in set_argument()1544 cfg.virtio_trackpad = Some(trackpad_spec); in set_argument()
680 fn create_trackpad_device(cfg: &Config, trackpad_spec: &TouchDeviceOption) -> DeviceResult { in create_trackpad_device()681 let socket = trackpad_spec.get_path().into_unix_stream().map_err(|e| { in create_trackpad_device()686 let (width, height) = trackpad_spec.get_size(); in create_trackpad_device()1431 if let Some(trackpad_spec) = &cfg.virtio_trackpad { in create_virtio_devices()1432 devs.push(create_trackpad_device(cfg, trackpad_spec)?); in create_virtio_devices()