rustdesk 4703a7d332 https://github.com/rustdesk/rustdesk/issues/327 | %!s(int64=3) %!d(string=hai) anos | |
---|---|---|
.. | ||
.github | %!s(int64=3) %!d(string=hai) anos | |
.vscode | %!s(int64=3) %!d(string=hai) anos | |
examples | %!s(int64=3) %!d(string=hai) anos | |
src | %!s(int64=3) %!d(string=hai) anos | |
.gitignore | %!s(int64=3) %!d(string=hai) anos | |
.travis.yml | %!s(int64=3) %!d(string=hai) anos | |
Cargo.toml | %!s(int64=3) %!d(string=hai) anos | |
LICENSE | %!s(int64=3) %!d(string=hai) anos | |
README.md | %!s(int64=3) %!d(string=hai) anos | |
appveyor.yml | %!s(int64=3) %!d(string=hai) anos | |
build.rs | %!s(int64=3) %!d(string=hai) anos | |
rustfmt.toml | %!s(int64=3) %!d(string=hai) anos |
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