Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
pattern SyncEvent :: SyncEventType -> Event Source #
pattern RelativeEvent :: RelativeAxis -> EventValue -> Event Source #
pattern AbsoluteEvent :: AbsoluteAxis -> EventValue -> Event Source #
pattern MiscEvent :: MiscEventType -> EventValue -> Event Source #
pattern SwitchEvent :: SwitchEventType -> EventValue -> Event Source #
pattern LEDEvent :: LEDEventType -> EventValue -> Event Source #
pattern SoundEvent :: SoundEventType -> EventValue -> Event Source #
pattern RepeatEvent :: RepeatEventType -> EventValue -> Event Source #
pattern ForceFeedbackEvent :: EventCode -> EventValue -> Event Source #
pattern PowerEvent :: EventCode -> EventValue -> Event Source #
pattern ForceFeedbackStatusEvent :: EventCode -> EventValue -> Event Source #
prettyEvent :: Event -> String Source #
grabDevice :: Device -> IO () Source #
ungrabDevice :: Device -> IO () Source #
maybeNewDevice :: RawFilePath -> IO (Maybe Device) Source #
getDeviceName :: Device -> IO ByteString Source #
Instances
Enum EventCode Source # | |
Defined in Evdev succ :: EventCode -> EventCode # pred :: EventCode -> EventCode # fromEnum :: EventCode -> Int # enumFrom :: EventCode -> [EventCode] # enumFromThen :: EventCode -> EventCode -> [EventCode] # enumFromTo :: EventCode -> EventCode -> [EventCode] # enumFromThenTo :: EventCode -> EventCode -> EventCode -> [EventCode] # | |
Eq EventCode Source # | |
Ord EventCode Source # | |
Defined in Evdev | |
Read EventCode Source # | |
Show EventCode Source # | |
newtype EventValue Source #
Instances
data KeyEventType Source #
Instances
Instances
Enum ReadFlags Source # | |
Defined in Evdev.LowLevel succ :: ReadFlags -> ReadFlags # pred :: ReadFlags -> ReadFlags # fromEnum :: ReadFlags -> Int # enumFrom :: ReadFlags -> [ReadFlags] # enumFromThen :: ReadFlags -> ReadFlags -> [ReadFlags] # enumFromTo :: ReadFlags -> ReadFlags -> [ReadFlags] # enumFromThenTo :: ReadFlags -> ReadFlags -> ReadFlags -> [ReadFlags] # | |
Eq ReadFlags Source # | |
Ord ReadFlags Source # | |
Defined in Evdev.LowLevel | |
Show ReadFlags Source # | |