Press a key combination to see the corresponding hotkey string. Quickly press another combination to build a sequence.
-
-
-
-
-
-
→
+
→
-
+
-
+
-
- Copy to clipboard
-
+ Copy to clipboard
+
-
-
-
+ hotkeyCodeElement.addEventListener('keyup', () => {
+ // we still have to use the keydown event, not the keyup event, because the keyup event won't have the modifier
+ // properties (ie, `ctrlKey` will be false).
+ if (lastKeyDownModifierEvent) registerEvent(lastKeyDownModifierEvent)
+ })
+ resetButtonElement.addEventListener('click', () => {
+ sequenceTracker.reset()
+ hotkeyCodeElement.value = ''
+ })
+
+