diff options
author | Florian Didron <0x6664@hey.com> | 2022-07-29 16:34:37 +0900 |
---|---|---|
committer | Florian Didron <0x6664@hey.com> | 2022-07-29 16:34:37 +0900 |
commit | a949e8eb4ef389d994c772fce17cb1dd1e991ad9 (patch) | |
tree | e6fda744a183d32f6f68106a9d456c2392354316 | |
parent | d3c3625aaf4dc93159f1a4180c85224c318db208 (diff) |
fix: restore the ability to disable tab from autoshifted keysfix/no-autoshift-tab
-rw-r--r-- | quantum/process_keycode/process_auto_shift.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_auto_shift.h b/quantum/process_keycode/process_auto_shift.h index ac6a143746..3df4048678 100644 --- a/quantum/process_keycode/process_auto_shift.h +++ b/quantum/process_keycode/process_auto_shift.h @@ -29,10 +29,16 @@ // clang-format off #define AUTO_SHIFT_ALPHA KC_A ... KC_Z #define AUTO_SHIFT_NUMERIC KC_1 ... KC_0 +#ifdef NO_AUTO_SHIFT_TAB +#define AUTO_SHIFT_SPECIAL \ + KC_MINUS ... KC_SLASH: \ + case KC_NONUS_BSLASH +#else #define AUTO_SHIFT_SPECIAL \ KC_TAB: \ case KC_MINUS ... KC_SLASH: \ case KC_NONUS_BSLASH +#endif // clang-format on bool process_auto_shift(uint16_t keycode, keyrecord_t *record); |