1 unstable release
0.1.0 | Jan 11, 2023 |
---|
#209 in Simulation
61KB
1.5K
SLoC
Noct
A cross-platform library for simulation of input written in Rust.
❗It's a enigo clone becase of parent repository is abandoned.
- Linux (X11) mouse
- Linux (X11) text
- Linux (Wayland) mouse
- Linux (Wayland) text
- MacOS mouse
- MacOS text
- Win mouse
- Win text
- Custom Parser
let mut noct = Noct::new();
noct.mouse_move_to(500, 200);
noct.mouse_click(MouseButton::Left);
noct.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 Debian-based distros:
apt-get install libxdo-dev
On Arch:
pacman -S xdotool
On Fedora:
dnf install libX11-devel libxdo-devel
On Gentoo:
emerge -a xdotool
Dependencies
~0–620KB