Safe Haskell | None |
---|
Low-level wrappers around the XTest protocol.
- keyboard :: Connection -> Bool -> KEYCODE -> IO ()
- button :: Connection -> Bool -> BUTTON -> IO ()
- motion :: Connection -> Bool -> (Word16, Word16) -> IO ()
- releaseAll :: Connection -> IO ()
- getKeysymMap :: Connection -> IO (Map KEYSYM KEYCODE)
XTest primitives
releaseAll :: Connection -> IO ()Source
Release all the keys and buttons, in case some were left held down.
Utility functions
getKeysymMap :: Connection -> IO (Map KEYSYM KEYCODE)Source
Return a structure mapping keysyms to their keycode.