Skip to content

namesPhysicalKey

ts
function namesPhysicalKey(hotkey): boolean;

Defined in: adapter.ts:508

Whether a hotkey to display names a physical position, such as [KeyQ] or { code: 'KeyQ' }. Only those labels follow the keyboard layout. A label primitive that reads the layout reactively checks this first, so a label such as Mod+S doesn't render again when the layout loads.

Parameters

hotkey

DisplayHotkey

Returns

boolean