Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Describes a key press or key release event.
- newtype EventKey = EventKey (ForeignPtr EventKey)
- noEventKey :: Maybe EventKey
- eventKeyReadGroup :: EventKey -> IO Word8
- eventKeyReadHardwareKeycode :: EventKey -> IO Word16
- eventKeyReadIsModifier :: EventKey -> IO Word32
- eventKeyReadKeyval :: EventKey -> IO Word32
- eventKeyReadLength :: EventKey -> IO Int32
- eventKeyReadSendEvent :: EventKey -> IO Int8
- eventKeyReadState :: EventKey -> IO [ModifierType]
- eventKeyReadString :: EventKey -> IO Text
- eventKeyReadTime :: EventKey -> IO Word32
- eventKeyReadType :: EventKey -> IO EventType
- eventKeyReadWindow :: EventKey -> IO Window
Exported types
Properties
Group
eventKeyReadGroup :: EventKey -> IO Word8 Source
HardwareKeycode
IsModifier
Keyval
eventKeyReadKeyval :: EventKey -> IO Word32 Source
Length
eventKeyReadLength :: EventKey -> IO Int32 Source
SendEvent
State
eventKeyReadState :: EventKey -> IO [ModifierType] Source
String
eventKeyReadString :: EventKey -> IO Text Source
Time
eventKeyReadTime :: EventKey -> IO Word32 Source
Type
Window
eventKeyReadWindow :: EventKey -> IO Window Source