Struct enigo::Enigo [] [src]

pub struct Enigo {}

The main struct for handling the event emitting

Methods

impl Enigo
[src]

[src]

Constructs a new Enigo instance.

Example

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

Trait Implementations

impl MouseControllable for Enigo
[src]

[src]

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

[src]

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

[src]

Push down one of the mouse buttons Read more

[src]

Lift up a pushed down mouse button Read more

[src]

Click a mouse button Read more

[src]

Scroll the mouse (wheel) left or right Read more

[src]

Scroll the mouse (wheel) up or down Read more

impl KeyboardControllable for Enigo
[src]

[src]

Types the string Read more

[src]

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

[src]

presses a given key down

[src]

release a given key formally pressed down by key_down Read more

[src]

Types the string parsed with DSL. Read more

[src]

Same as key_sequence_parse except returns any errors