Skip to main content

press_route

Function press_route 

Source
pub fn press_route(
    button: MouseButton,
    count: u8,
    actions: &[String],
    center: Option<(i32, i32)>,
) -> Result<Vec<Step>, ComputerError>
Expand description

Left press stays AXPress. Right uses AXShowMenu when that action is advertised. Every other button, and a right press without a menu, clicks the element center through the input tiers.