Searched refs:multi_touch_spec (Results 1 – 2 of 2) sorted by relevance
656 fn create_multi_touch_device(cfg: &Config, multi_touch_spec: &TouchDeviceOption) -> DeviceResult { in create_multi_touch_device()657 let socket = multi_touch_spec in create_multi_touch_device()665 let (width, height) = multi_touch_spec.get_size(); in create_multi_touch_device()1427 if let Some(multi_touch_spec) = &cfg.virtio_multi_touch { in create_virtio_devices()1428 devs.push(create_multi_touch_device(cfg, multi_touch_spec)?); in create_virtio_devices()1522 .map(|multi_touch_spec| multi_touch_spec.get_size()) in create_virtio_devices()
1518 let mut multi_touch_spec = in set_argument() localVariable1521 multi_touch_spec.set_width(width.trim().parse().unwrap()); in set_argument()1524 multi_touch_spec.set_height(height.trim().parse().unwrap()); in set_argument()1526 cfg.virtio_multi_touch = Some(multi_touch_spec); in set_argument()