MAIDR JavaScript API
    Preparing search index...

    Function normalizeCombo

    • One shortcut in its canonical spelling: modifiers in a fixed order under their one name each, the key last and lower-cased, so Control+Shift+P, shift+ctrl+p and ctrl+shift+p are the same shortcut to the conflict check. A spelling that names no key, or several, is returned as it came, lower-cased, so it still compares equal to itself.

      Parameters

      • combo: string

        A shortcut as hotkeys-js would bind it

      Returns string

      Its canonical spelling