Safe Haskell | None |
---|
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
- keyboard :: Bool -> Key -> Robot ()
- button :: Bool -> Button -> Robot ()
- motion :: Bool -> Int -> Int -> Robot ()
The Robot monad
runRobotWith :: Connection -> Robot a -> IO aSource
Run the robot using an existing connection.
connect :: IO ConnectionSource
Connect to the X11 server.
mkRobot' :: (Connection -> IO a) -> Robot aSource