Build status Docs Dependency status

Rust version Crates.io Discord chat Gitter chat

enigo

Cross platform input simulation in Rust!

```Rust let mut enigo = Enigo::new();

enigo.mousemoveto(500, 200); enigo.mouseclick(MouseButton::Left); enigo.keysequence_parse("{+CTRL}a{-CTRL}{+SHIFT}Hello World{-SHIFT}"); ```

For more look at examples

Runtime dependencies

Linux users may have to install libxdo-dev. For example, on Debian-based distros:

Bash apt-get install libxdo-dev

On Arch:

Bash pacman -S xdotool

On Fedora:

Bash dnf install libX11-devel libxdo-devel

On Gentoo:

Bash emerge -a xdotool

Migrating from a previous version

Please have a look at our changelog to find out what you have to do, if you used a previous version.