Skip to main content

Module keys

Module keys 

Source
Expand description

Key and hardware-button names → HID usages.

Constants§

KEY_BACKSPACE
KEY_DELETE_FORWARD
KEY_ESCAPE
KEY_RETURN
HID keyboard page usages.
KEY_SPACE
KEY_TAB
MOD_COMMAND
MOD_CONTROL
MOD_OPTION
MOD_SHIFT

Functions§

button
Hardware button → (usage page, usage, hold in ms).
parse_combo
Parse return, a, cmd+v, cmd+shift+z or 0x28 into (key, modifiers).
usage
Usage of a letter or digit key on a US layout.