hammerspoon2-docs
    Preparing search index...

    Variable namesConst

    names: Record<string, string>

    A mapping from macOS virtual key codes to key names, following the current keyboard layout.

    The reverse of map. Each key code maps to its fixed name if it has one (e.g. return, f1), otherwise to the character the current layout types on it. Key codes with neither are absent. JavaScript object keys are strings, so names[36] and names["36"] are the same.