Crate keyboard_shortcut_parser

Source
Expand description

This crate allows to parse keyboard shortcut strings and maps the results to the right keycodes. Keycode mapping is currently supported for X11 and Windows.

Structs§

KeyModifier
Bitflags holding all modifier keys.
KeySpecial
Bitflags holding all special keys.

Enums§

Key
A keyboard key.

Functions§

parse_key_string
Parses a string and returns the list of recognized keys, in order.