Function devices::virtio::input::defaults::new_trackpad_config

source ·
pub fn new_trackpad_config(
    idx: u32,
    width: u32,
    height: u32,
    name: Option<&str>,
) -> VirtioInputConfig
Expand description

Instantiates a VirtioInputConfig object with the default configuration for a trackpad. It supports touch, left button and right button events, as well as X and Y axis.