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.
Parses a key given as a string of
+-separated, case-insensitive modifiers (Shift,Ctrl/Control,Alt/Option,Meta/Cmd/Command, orModforCmdon macOS andCtrlelsewhere), followed by the key'sKeyboardEvent.code. A single letter or digit stands for its key, e.g.MforKeyMand1forDigit1.