Defined in: format.ts:309
Options for formatting a hotkey for aria-keyshortcuts.
optional layoutMap?: object;Defined in: format.ts:320
An already-resolved code-to-key map, such as KeyboardLayoutMap or Map. Used only for physical bindings, to name the key the user presses. Missing or empty entries use the key at that position on a US keyboard.
get: (code) => string | undefined;string
string | undefined
optional platform?: HotkeyPlatform;Defined in: format.ts:314
The target platform, for resolving Mod. Without it, formatForAria detects the platform in the browser and uses 'linux' on a server.