Trait hookmap_core::common::EmulateButtonInput[][src]

pub trait EmulateButtonInput {
    fn press(&self);
fn release(&self);
fn is_pressed(&self) -> bool; fn click(&self) { ... }
fn input(&self, action: ButtonAction) { ... } }
Expand description

Emulates button input.

Required methods

Emulates a button press operation.

Emulates a button release operation.

Returns true if a button is pressed.

Provided methods

Presses a button and releases it immediately.

Dynamically change whether to press or release.

Implementors