diff options
author | Pascal Getreuer <[email protected]> | 2025-04-19 11:57:00 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2025-04-19 11:57:00 -0700 |
commit | ea85ace4a90baca401e49f35365a6a8f7d3802c4 (patch) | |
tree | 298d2c9e79e57d4664e5d30fde499ee215075669 /quantum/process_keycode/process_caps_word.c | |
parent | 88453acc6aa4c92fdcc90f706987114cc4b9a237 (diff) | |
download | qmk_firmware-ea85ace4a90baca401e49f35365a6a8f7d3802c4.tar.gz qmk_firmware-ea85ace4a90baca401e49f35365a6a8f7d3802c4.zip |
Ignore the Layer Lock key in Repeat Key and Caps Word. (#25171)
Diffstat (limited to 'quantum/process_keycode/process_caps_word.c')
-rw-r--r-- | quantum/process_keycode/process_caps_word.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_caps_word.c b/quantum/process_keycode/process_caps_word.c index b8fb868c6d..8ab66cc521 100644 --- a/quantum/process_keycode/process_caps_word.c +++ b/quantum/process_keycode/process_caps_word.c @@ -160,8 +160,13 @@ bool process_caps_word(uint16_t keycode, keyrecord_t* record) { case QK_TOGGLE_LAYER ... QK_TOGGLE_LAYER_MAX: case QK_LAYER_TAP_TOGGLE ... QK_LAYER_TAP_TOGGLE_MAX: case QK_ONE_SHOT_LAYER ... QK_ONE_SHOT_LAYER_MAX: +#ifdef TRI_LAYER_ENABLE // Ignore Tri Layer keys. case QK_TRI_LAYER_LOWER ... QK_TRI_LAYER_UPPER: - // Ignore AltGr. +#endif // TRI_LAYER_ENABLE +#ifdef LAYER_LOCK_ENABLE // Ignore Layer Lock key. + case QK_LAYER_LOCK: +#endif // LAYER_LOCK_ENABLE + // Ignore AltGr. case KC_RALT: case OSM(MOD_RALT): return true; |