eventloop-0.8.1.2: A different take on an IO system. Based on Amanda's IO loop, this eventloop takes a function that maps input events to output events. It can easily be extended by modules that represent IO devices or join multiple modules together.

Safe HaskellNone
LanguageHaskell2010

Eventloop.Module.Websocket.Keyboard

Synopsis

Documentation

data Keyboard Source

Almost all key presses are registered including modifier keys. Expect character keys to come in as their character. Press a c, get a "c". If a modifier is used and a different character is expected, it will be that instead. Press shift + c, get a C. Modifiers are also sent as their string representation: "shift", "ctrl" or "alt". Space is expected as "space".

Constructors

Key [Char]