Function devices::virtio::input::new_custom

source ·
pub fn new_custom<T>(
    idx: u32,
    source: T,
    input_config_path: PathBuf,
    virtio_features: u64
) -> Result<Input<SocketEventSource<T>>>
where T: Read + Write + AsRawDescriptor + Send + 'static,
Expand description

Creates a new custom virtio input device