# Noct
## _A cross-platform library for simulation of input written in Rust._
[](https://travis-ci.org/noct-rs/noct)
[](https://ci.appveyor.com/project/pythoneer/noct-85xiy)
[](https://docs.rs/noct)
[](https://crates.io/crates/noct)
[](https://discord.gg/Eb8CsnN)
[](https://gitter.im/noct-rs/Lobby)
❗It's a [enigo](https://github.com/enigo-rs/enigo) clone becase of parent repository is abandoned.
- [x] Linux (X11) mouse
- [x] Linux (X11) text
- [ ] Linux (Wayland) mouse
- [ ] Linux (Wayland) text
- [x] MacOS mouse
- [x] MacOS text
- [x] Win mouse
- [x] Win text
- [x] Custom Parser
```Rust
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:
```Bash
apt-get install libxdo-dev
```
On Arch:
```Bash
pacman -S xdotool
```
On Fedora:
```Bash
dnf install libX11-devel libxdo-devel
```
On Gentoo:
```Bash
emerge -a xdotool
```