| Copyright | (c) 2016-19 Brian W Bush |
|---|---|
| License | MIT |
| Maintainer | Brian W Bush <code@functionally.io> |
| Stability | Production |
| Portability | Linux |
| Safe Haskell | Safe |
| Language | Haskell2010 |
System.Hardware.Linux.Input
Contents
Description
Parse events from Linux devinput streams. See <https://github.com/torvalds/linux/blob/master/include/uapi/linux/input.h> for details.
Synopsis
- data InputEvent = InputEvent {}
- byteLength :: Integral a => a
Types
data InputEvent Source #
Input events from Linux devinput streams. See <https://github.com/torvalds/linux/blob/master/include/uapi/linux/input.h> for details.
Constructors
| InputEvent | |
Instances
| Eq InputEvent Source # | |
Defined in System.Hardware.Linux.Input | |
| Ord InputEvent Source # | |
Defined in System.Hardware.Linux.Input Methods compare :: InputEvent -> InputEvent -> Ordering # (<) :: InputEvent -> InputEvent -> Bool # (<=) :: InputEvent -> InputEvent -> Bool # (>) :: InputEvent -> InputEvent -> Bool # (>=) :: InputEvent -> InputEvent -> Bool # max :: InputEvent -> InputEvent -> InputEvent # min :: InputEvent -> InputEvent -> InputEvent # | |
| Read InputEvent Source # | |
Defined in System.Hardware.Linux.Input Methods readsPrec :: Int -> ReadS InputEvent # readList :: ReadS [InputEvent] # readPrec :: ReadPrec InputEvent # readListPrec :: ReadPrec [InputEvent] # | |
| Show InputEvent Source # | |
Defined in System.Hardware.Linux.Input Methods showsPrec :: Int -> InputEvent -> ShowS # show :: InputEvent -> String # showList :: [InputEvent] -> ShowS # | |
| Binary InputEvent Source # | |
Defined in System.Hardware.Linux.Input | |
byteLength :: Integral a => a Source #
The number of bytes in an input event.