enigo
Cross platform input simulation in Rust!
- Linux (X11) mouse
- Linux (X11) text
- Linux (Wayland) mouse
- Linux (Wayland) text
- MacOS mouse
- MacOS text
- Win mouse
- Win text
- Custom Parser
let mut enigo = new;
enigo.mouse_move_to;
enigo.mouse_click;
enigo.key_sequence_parse;
For more look at examples
Runtime dependencies
Linux users may have to install libxdo-dev
. For example, on Debian-based distros:
On Arch:
On Fedora:
On Gentoo:
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.