evdev-0.2.0.0: Bindings to libevdev

Safe HaskellNone
LanguageHaskell2010

Evdev.LowLevel

Documentation

newtype Event Source #

Constructors

Event (ForeignPtr Event) 

withEvent :: Event -> (Ptr Event -> IO b) -> IO b Source #

newtype Time Source #

Constructors

Time (ForeignPtr Time) 

withTime :: Time -> (Ptr Time -> IO b) -> IO b Source #

newtype Device Source #

Constructors

Device (Ptr Device) 

convertEnum :: (Enum a, Integral b) => a -> b Source #