Skip to content
E

Enigo

Cross platform input simulation in Rust

by enigo-rsFree

#892in Productivity
0In stores

Description

enigo is a cross-platform Rust library for simulating keyboard and mouse input. It lets a program move the mouse, press keys and type text a…

Highlights

  • Mouse and keyboard input on Windows, macOS and Linux
  • X11 text and mouse support
  • Experimental Wayland and libei support
  • Optional serde for input commands
  • Physical pixel coordinates on Windows

Ratings & Reviews

No ratings yet

Be the first to rate Enigo.

People also visit

R

Robotgo

RobotGo, Go Native cross-platform RPA, GUI automation

AI
Launch
C

CrossMacro

Cross-platform desktop automation app

Productivity
Launch
M

Mousemaster

Mouseless mouse control and advanced keyboard customization for Windows

Productivity
Launch
L

Lan Mouse

mouse & keyboard sharing via LAN

Utilities
Launch
C

Computer Use Linux

Linux desktop control over MCP — AT-SPI, GNOME Shell, Wayland portals, ydotool

AI
Launch
R

Reframe

DRM/KMS based remote desktop for Linux

Utilities
Launch

Enigo FAQ

What is enigo?

A cross-platform Rust library for simulating mouse and keyboard input.

Which platforms work?

Windows, macOS and Linux on X11. Wayland and libei are experimental on Linux, and BSD works if it runs X11 or Wayland but is not tested.

Can I save input commands?

Yes. Enable the serde feature to serialize and deserialize commands.

Why might input fail?

Some platforms restrict programs from entering keys or controlling the mouse. The permissions documentation explains what to allow.

What do I install on Linux?

libxdo-dev if you use the xdo feature, with the package name given for Debian, Arch, Fedora and Gentoo.

Is it safe to run the tests?

The project warns that the tests move the mouse, type and open applications, so close everything first and run them one at a time.

What are the best Enigo alternatives?

Popular alternatives to Enigo include CrossMacro, Mousemaster and Keymapper. See all Enigo alternatives

Developer Stuff

Badges