Contains a few utilities for parsing and working with different keyboard layout. Used by the Keyboard widget.
Contains the character codes for the available control characters on the keyboard, such as space and return.
This object contains the keyboard layouts that are available for the keyboard widget. Each keyboard layout is a list with one entry for each keyboard row. Each row is a string that contains the characters available on that row.
Parses a custom template layout that was specified by the user. Rows are separated by commas, keys on a row may be separated by dashes.
A custom layout template specified by the user.
The parsed keyboard layout template. Contains one item for each row, each item contains the characters on that keyboard row.
Finds and returns the keycode for the given control character. You can use this keycode in a custom keyboard layout.
string Name of the control keycode to get.
The keycode with the given name, if it exists.
Finds and returns a built-in layout with the given name. Currently available layout are
Name of a layout to get.
The layout with the given name, if it exists.
Checks whether a built-in control with the given name exists. If it does, you can retrieve it via
string Name of the control keycode to check.
true if a control for the given key is defined,
Generated using TypeDoc