evdev- Bindings to libevdev

Safe HaskellNone




allDevices :: (IsStream t, Monad (t IO)) => t IO Device Source #

All valid devices (in devinput).

allEvents :: IsStream t => t IO (Device, Event) Source #

All events on all valid devices (in devinput).

makeDevices :: IsStream t => t IO RawFilePath -> t IO Device Source #

Create devices for all paths in the stream. | Will throw an exception if a path doesn't correspond to a valid input device.

readEvents :: Device -> SerialT IO Event Source #

Read all events from a device.

readEventsMany :: IsStream t => AsyncT IO Device -> t IO (Device, Event) Source #

Concurrently read events from multiple devices.