diff options
author | Balz Guenat <balz.guenat@gmail.com> | 2017-08-11 21:43:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-11 21:43:49 +0200 |
commit | bd38273f6f48d52374b86d7ff0e7cedfddcb7328 (patch) | |
tree | 433aff7b4418fe08b88e1ebaf219bf8341d265c9 | |
parent | 7b8eed9f298e70a88742cefe5d75840160c75435 (diff) |
add short comment to grave_esc_ctrl_override
-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 8f8cec4847..d1969fc5ba 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -477,6 +477,8 @@ bool process_record_quantum(keyrecord_t *record) { |MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI))); #ifdef GRAVE_ESC_CTRL_OVERRIDE + // if CTRL is pressed, ESC is always read as ESC, even if SHIFT or GUI is pressed. + // this is handy for the ctrl+shift+esc shortcut on windows, among other things. if (get_mods() & (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL))) shifted = 0; #endif |