..
2021-03-29 15:59:14 +08:00
2022-12-25 19:23:03 +03:00
2022-12-26 11:25:55 +08:00
2023-03-20 15:28:14 +08:00
2022-05-12 17:35:25 +08:00
2021-03-29 15:59:14 +08:00
2021-03-29 15:59:14 +08:00
2023-01-09 12:58:33 -05:00
2021-03-29 15:59:14 +08:00
2023-02-19 10:19:28 +08:00
2021-03-29 15:59:14 +08:00
2021-03-29 15:59:14 +08:00
2021-03-29 15:59:14 +08:00
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
