KeyboardCode

Codes of keyboard keys.

Typestring

Keyboard keys are represented with strings, in Yue we use the values of HTML5 DOM's KeyboardEvent.key to represent the keys. A list of available keys can be found at: Key Values - MDN.

There is an exception that the Space Bar is represented as "Space" in Yue instead of " ".