pub fn new_keyboard_config(idx: u32) -> VirtioInputConfig
Expand description
Instantiates a VirtioInputConfig object with the default configuration for a keyboard. It supports the same keys as a en-us keyboard and the CAPSLOCK, NUMLOCK and SCROLLLOCK leds.