fufesou 7a3e1fe648 fix: ->macos, mouse events, key flags (#9733) | 1 miesiąc temu | |
---|---|---|
.. | ||
.github | 3 lat temu | |
.vscode | 1 rok temu | |
examples | 1 rok temu | |
src | 1 miesiąc temu | |
.gitattributes | 2 lat temu | |
.gitignore | 3 lat temu | |
.travis.yml | 3 lat temu | |
Cargo.toml | 4 miesięcy temu | |
LICENSE | 3 lat temu | |
README.md | 3 lat temu | |
appveyor.yml | 1 rok temu | |
build.rs | 3 lat temu | |
rustfmt.toml | 3 lat temu |
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