Function devices::virtio::input::new_single_touch
source · pub fn new_single_touch<T>(
idx: u32,
source: T,
width: u32,
height: u32,
name: Option<&str>,
virtio_features: u64
) -> Result<Input<SocketEventSource<T>>>
Expand description
Creates a new virtio touch device which supports single touch only.