| id |
Each key id must start with >K_ , for keys mapped to standard Keyman virtual key names, e.g. K_HYPHEN , or either U_ or T_ for user-defined names. Keys identified as U_xxxx[_xxxx...] specify one or more Unicode characters in hex format, e.g. U_1363 for the Ethiopic Comma character, and will insert those characters if the key id is not matched by a rule. Other user-defined keys, such as T_ZZZ , will be ignored unless matched by a rule. The key id is required except for key styles 9 or 10 (blank or spacer keys). |
| text |
Where a key id is of the form K_XXXX , the text on the key will be the indicated Unicode character if this member is omitted. However, what the keystroke output will depend on any rules that process the keystroke, and may or may not be the same as the key text. |
| sp |
| Value |
Key style |
| 0 |
Normal key (default) |
| 1 |
Shift key |
| 2 |
Active shift key |
| 8 |
Deadkey |
| 9 |
Blank key |
| 10 |
Spacer |
|
| font |
The font for the key label may be specified if it is necessary to use a different font for that key. |
| fontsize |
The font size for the key label may be specified (in em units) if necessary. |
| width |
By default, each key has a width of 100
units, with rows then scaled to make the widest row fit on the screen.
Set the width value if a key should be narrower or wider than the
standard width. |
| pad |
Space before key, in same units as width (default key width=100 units). |
| layer |
Override the default layer type for processing key rules. For example, use 'layer':'shift' in any layer to process a key rule as if it were the shift layer, i.e. as if the Shift key was down. |
| nextlayer |
Select the key layer to be displayed after processing the current keystroke. This will usually be used to implement custom layer selection, but can also be used to select a different layer after a deadkey or normal key, and will override any nextlayer value specifed for the entire layer. The layer to be displayed may also be specified using the setlayer() statement in a rule in the keyboard source. |
| sk |
Pop-up key specifications are identical to normal key specifications except that they cannot be nested. (Key size and spacing members width and pad are ignored for pop-up keys.) |