# Noct ## _A cross-platform library for simulation of input written in Rust._ [![Build Status](https://travis-ci.org/noct-rs/noct.svg?branch=master)](https://travis-ci.org/noct-rs/noct) [![Build status](https://ci.appveyor.com/api/projects/status/6cd00pajx4tvvl3e?svg=true)](https://ci.appveyor.com/project/pythoneer/noct-85xiy) [![Docs](https://docs.rs/noct/badge.svg)](https://docs.rs/noct) [![Crates.io](https://img.shields.io/crates/v/noct.svg)](https://crates.io/crates/noct) [![Discord chat](https://img.shields.io/discord/315925376486342657.svg)](https://discord.gg/Eb8CsnN) [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](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 ```