summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorFlorian Didron <fdidron@users.noreply.github.com>2022-12-22 14:36:19 +0900
committerGitHub <noreply@github.com>2022-12-22 14:36:19 +0900
commitbb7f824ced78c835c3b40b34175872c1626bd7dd (patch)
tree3a3bfc05ce9beb0c12c2d7aae290fc1a9b4e0ae1 /quantum
parent3f9672fa5f15c0d13a9602660478091b1d2917ea (diff)
fix: restore the no autoshift tab flag (#364)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/process_keycode/process_auto_shift.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_auto_shift.h b/quantum/process_keycode/process_auto_shift.h
index 86adb04985..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_BACKSLASH
+ case KC_NONUS_BSLASH
+#endif
// clang-format on
bool process_auto_shift(uint16_t keycode, keyrecord_t *record);