pub fn new_mouse_config(idx: u32) -> VirtioInputConfig
Expand description

Instantiates a VirtioInputConfig object with the default configuration for a mouse. It supports left, right and middle buttons, as wel as X, Y and wheel relative axes.