pub fn new_custom_config(
idx: u32,
name: &str,
serial_name: &str,
supported_events: BTreeMap<u16, virtio_input_bitmap>
) -> VirtioInputConfig
Expand description
Initializes a VirtioInputConfig object for a custom virtio-input device.
§Arguments
idx
- input device indexname
- input device nameserial_name
- input device serial namesupported_events
- Event configuration provided by a configuration file