@byomakase/omakase-player
    Preparing search index...

    Function parseShortcutKey

    • Parses a key given as a string of +-separated, case-insensitive modifiers (Shift, Ctrl / Control, Alt / Option, Meta / Cmd / Command, or Mod for Cmd on macOS and Ctrl elsewhere), followed by the key's KeyboardEvent.code. A single letter or digit stands for its key, e.g. M for KeyM and 1 for Digit1.

      Parameters

      • binding: string

      Returns ControlBarShortcutKey