robot: Simulate keyboard and mouse events

[ graphics, library ] [ Propose Tags ]

Generate native keyboard and mouse events. Using this library, applications will respond as if the user performed the action themselves.

For examples, see the examples folder in the source distribution.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 1.0, 1.0.1,, 1.1, 1.2, 1.3,, 1.4
Dependencies base (>=4 && <5), containers, exceptions (>=0.6), transformers, xhb [details]
License LicenseRef-OtherLicense
Author Chris Wong
Category Graphics
Home page
Source repo head: git clone
Uploaded by ChrisWong at 2015-02-16T00:57:25Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 5658 total (30 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-02-16 [all 1 reports]

Readme for robot-1.4

[back to package description]

The Haskell Robot

Robot is a library for sending fake keyboard and mouse events using Haskell. Applications will respond as though the user performed the actions themselves.

Only X11 systems are supported right now, but Windows and Mac can be added later if anyone cares.

Here are some things you can do:

Quick start

First, download and install the library:

git clone
cd robot
cabal install

Now try running some of the programs in the examples directory.


  • Backends for Mac OS X, Windows, and Wayland

  • Screenshots

  • Actions currently run instantaneously, which can be an issue for some applications. Perhaps add a small delay between each operation like Java does.