Struct enigo::Enigo [] [src]

pub struct Enigo { /* fields omitted */ }

The main struct for handling the event emitting

Methods

impl Enigo
[src]

Constructs a new Enigo instance.

Example

use enigo::*;
let mut enigo = Enigo::new();

Trait Implementations

impl MouseControllable for Enigo
[src]

Lets the mouse cursor move to the specified x and y coordinates. Read more

Lets the mouse cursor move the specified amount in the x and y direction. Read more

Push down one of the mouse buttons Read more

Lift up a pushed down mouse button Read more

Click a mouse button Read more

Scroll the mouse (wheel) left or right Read more

Scroll the mouse (wheel) up or down Read more

impl KeyboardControllable for Enigo
[src]

Types the string Read more

Much like the key_down and key_up function they're just invoked consecutively Read more

presses a given key down

release a given key formally pressed down by key_down Read more