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

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