xinput-conduit-0.0.0: Conduit of keys pressed by xinput

Safe HaskellNone
LanguageHaskell98

Data.Conduit.XInput

Description

A conduit interface to XInput events.

Synopsis

Documentation

xinputSource :: MonadIO m => Device -> ConduitM i (Event, KeyCode) m ExitCode Source

Source of xinput keys.

newtype Device Source

Device identifier.

Constructors

Device Int 

Instances

data Event Source

An event.

Constructors

Press 
Release 

newtype KeyCode Source

Key code.

Constructors

KeyCode Int