rustdesk 4703a7d332 https://github.com/rustdesk/rustdesk/issues/327 пре 3 година
..
.github d1013487e2 source code пре 3 година
.vscode d1013487e2 source code пре 3 година
examples 4703a7d332 https://github.com/rustdesk/rustdesk/issues/327 пре 3 година
src e510d2744d fix apps key пре 3 година
.gitignore d1013487e2 source code пре 3 година
.travis.yml d1013487e2 source code пре 3 година
Cargo.toml d1013487e2 source code пре 3 година
LICENSE d1013487e2 source code пре 3 година
README.md d1013487e2 source code пре 3 година
appveyor.yml d1013487e2 source code пре 3 година
build.rs d1013487e2 source code пре 3 година
rustfmt.toml d1013487e2 source code пре 3 година

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