Function devices::virtio::input::new_rotary
source · pub fn new_rotary<T>(
idx: u32,
source: T,
virtio_features: u64
) -> Result<Input<SocketEventSource<T>>>
Expand description
Creates a new virtio device for rotary.