pub fn new_mouse<T>(
idx: u32,
source: T,
virtio_features: u64
) -> Result<Input<SocketEventSource<T>>>
Expand description
Creates a new virtio mouse which supports primary, secondary, wheel and REL events.
pub fn new_mouse<T>(
idx: u32,
source: T,
virtio_features: u64
) -> Result<Input<SocketEventSource<T>>>
Creates a new virtio mouse which supports primary, secondary, wheel and REL events.