Safe Haskell | Safe-Inferred |
---|
Synopsis
- data Key
- data Modifier
- to_label :: Key -> Text
- to_mac_label :: Key -> Text
- show_mac_mod :: Modifier -> Text
- decode_key :: CInt -> Key
- decode_modifiers :: CInt -> [Modifier]
Documentation
A keystroke. For Char
, this is always the unshifted version. So
assuming that , and < live on the same keycap, you will will see
Shift + Char ',', not Char '<'.
to_mac_label :: Key -> Text Source #
show_mac_mod :: Modifier -> Text Source #
decode_key :: CInt -> Key Source #
decode_modifiers :: CInt -> [Modifier] Source #