Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
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".
Instances
Eq Keyboard Source # | |
Show Keyboard Source # | |
Generic Keyboard Source # | |
NFData Keyboard Source # | |
Defined in Eventloop.Module.Websocket.Keyboard.Types | |
FromJSON Keyboard | |
Defined in Eventloop.Module.Websocket.Keyboard.Keyboard parseJSON :: Value -> Parser Keyboard parseJSONList :: Value -> Parser [Keyboard] | |
type Rep Keyboard Source # | |
Defined in Eventloop.Module.Websocket.Keyboard.Types |