Safe Haskell | None |
---|
The main Robot interface.
Running your robot
Key and button constants
module Test.Robot.Types
Doing things
Represents things that can be pressed: either a key on a keyboard or a button on a mouse.
tap :: Pressable x => x -> Robot ()Source
Press the argument, then release it.
Note that the underlying events are fired very quickly; much faster
than some applications (such as Xmonad) can handle. If this becomes
an issue, you may introduce a delay using sleep
:
slowTap x = x `hold` sleep 0.1
Miscellaneous
module Test.Robot.Connection