Function devices::virtio::input::new_keyboard
source · pub fn new_keyboard<T>(
idx: u32,
source: T,
virtio_features: u64
) -> Result<Input<SocketEventSource<T>>>
Expand description
Creates a new virtio keyboard, which supports the same events as an en-us physical keyboard.