diff options
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r-- | quantum/quantum.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 8f8cec484..d1969fc5b 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
@@ -477,6 +477,8 @@ bool process_record_quantum(keyrecord_t *record) { | |||
477 | |MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI))); | 477 | |MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI))); |
478 | 478 | ||
479 | #ifdef GRAVE_ESC_CTRL_OVERRIDE | 479 | #ifdef GRAVE_ESC_CTRL_OVERRIDE |
480 | // if CTRL is pressed, ESC is always read as ESC, even if SHIFT or GUI is pressed. | ||
481 | // this is handy for the ctrl+shift+esc shortcut on windows, among other things. | ||
480 | if (get_mods() & (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL))) | 482 | if (get_mods() & (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL))) |
481 | shifted = 0; | 483 | shifted = 0; |
482 | #endif | 484 | #endif |