rustdesk 4703a7d332 https://github.com/rustdesk/rustdesk/issues/327 3 years ago
..
.github d1013487e2 source code 3 years ago
.vscode d1013487e2 source code 3 years ago
examples 4703a7d332 https://github.com/rustdesk/rustdesk/issues/327 3 years ago
src e510d2744d fix apps key 3 years ago
.gitignore d1013487e2 source code 3 years ago
.travis.yml d1013487e2 source code 3 years ago
Cargo.toml d1013487e2 source code 3 years ago
LICENSE d1013487e2 source code 3 years ago
README.md d1013487e2 source code 3 years ago
appveyor.yml d1013487e2 source code 3 years ago
build.rs d1013487e2 source code 3 years ago
rustfmt.toml d1013487e2 source code 3 years ago

README.md

Build Status Build status Dependency Status Docs Crates.io Discord chat Gitter chat

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 = Enigo::new();

enigo.mouse_move_to(500, 200);
enigo.mouse_click(MouseButton::Left);
enigo.key_sequence_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 Ubuntu:

apt install libxdo-dev

On Arch:

pacman -S xdotool