Function devices::virtio::input::new_trackpad
source · pub fn new_trackpad<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 trackpad device which supports (single) touch, primary and secondary buttons as well as X and Y axis.