Safe Haskell | None |
---|---|
Language | Haskell98 |
Miscellaneous low-level functions. You should rarely need to use these directly.
- newtype Robot a = Robot {}
- runRobot :: Robot a -> IO a
- runRobotWith :: Connection -> Robot a -> IO a
- connect :: IO Connection
- mkRobot :: ((Connection, Map KEYSYM KEYCODE) -> IO a) -> Robot a
- mkRobot' :: (Connection -> IO a) -> Robot a
- switch :: Bool -> Switch -> Robot ()
- motion :: Bool -> Int -> Int -> Robot ()
The Robot monad
runRobotWith :: Connection -> Robot a -> IO a Source
Run the robot using an existing connection.
connect :: IO Connection Source
Connect to the X11 server.
mkRobot' :: (Connection -> IO a) -> Robot a Source