rustdesk 4703a7d332 https://github.com/rustdesk/rustdesk/issues/327 | 3 years ago | |
---|---|---|
.. | ||
.github | 3 years ago | |
.vscode | 3 years ago | |
examples | 3 years ago | |
src | 3 years ago | |
.gitignore | 3 years ago | |
.travis.yml | 3 years ago | |
Cargo.toml | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
appveyor.yml | 3 years ago | |
build.rs | 3 years ago | |
rustfmt.toml | 3 years ago |
Cross platform input simulation in Rust!
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
Linux users may have to install libxdo-dev. For example, on Ubuntu:
apt install libxdo-dev
On Arch:
pacman -S xdotool