Safe Haskell | None |
---|---|
Language | Haskell98 |
The main Robot interface.
Running your robot
Key and button constants
module Test.Robot.Types
Doing things
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