SIGN IN SIGN UP

keymap: Allow modifiers as keys (#12047)

It is sometimes desirable to allow modifers to serve as keys themselves
for the purposes of keybinds. For example, the popular keybind in
jetbrains IDEs `shift shift` which opens the file finder.

This change treats modifers in the keymaps as keys themselves if they
are not accompanied by a key they are modifying.

Further this change wires up they key dispatcher to treat modifer change
events as key presses which are considered for matching against
keybinds.


Release Notes:

- Fixes #6460

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
D
Dov Alperin committed
0b1a589183702e68df618b1caf24671a2ce0c42c
Parent: 7e694d1
Committed by GitHub <noreply@github.com> on 6/25/2024, 4:17:23 PM