fix: restore the ability to disable tab from autoshifted keys (#355)
This commit is contained in:
@@ -29,10 +29,16 @@
|
|||||||
// clang-format off
|
// clang-format off
|
||||||
#define AUTO_SHIFT_ALPHA KC_A ... KC_Z
|
#define AUTO_SHIFT_ALPHA KC_A ... KC_Z
|
||||||
#define AUTO_SHIFT_NUMERIC KC_1 ... KC_0
|
#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 \
|
#define AUTO_SHIFT_SPECIAL \
|
||||||
KC_TAB: \
|
KC_TAB: \
|
||||||
case KC_MINUS ... KC_SLASH: \
|
case KC_MINUS ... KC_SLASH: \
|
||||||
case KC_NONUS_BSLASH
|
case KC_NONUS_BSLASH
|
||||||
|
#endif
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
bool process_auto_shift(uint16_t keycode, keyrecord_t *record);
|
bool process_auto_shift(uint16_t keycode, keyrecord_t *record);
|
||||||
|
|||||||
Reference in New Issue
Block a user