Defined in: format.ts:310
Options for formatting a hotkey for aria-keyshortcuts.
optional layoutMap?: object;Defined in: format.ts:321
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:315
The target platform, for resolving Mod. Without it, formatForAria detects the platform in the browser and uses 'linux' on a server.