Searched refs:single_touch_spec (Results 1 – 2 of 2) sorted by relevance
424 fn create_single_touch_device(cfg: &Config, single_touch_spec: &TouchDeviceOption) -> DeviceResult { in create_single_touch_device()425 let socket = create_input_socket(&single_touch_spec.path).map_err(|e| { in create_single_touch_device()430 let dev = virtio::new_single_touch(socket, single_touch_spec.width, single_touch_spec.height) in create_single_touch_device()805 if let Some(single_touch_spec) = &cfg.virtio_single_touch { in create_virtio_devices()806 devs.push(create_single_touch_device(cfg, single_touch_spec)?); in create_virtio_devices()
724 let mut single_touch_spec = in set_argument() localVariable727 single_touch_spec.width = width.trim().parse().unwrap(); in set_argument()730 single_touch_spec.height = height.trim().parse().unwrap(); in set_argument()733 cfg.virtio_single_touch = Some(single_touch_spec); in set_argument()