aboutsummaryrefslogtreecommitdiff
path: root/quantum/process_keycode/process_repeat_key.c
diff options
context:
space:
mode:
authorPascal Getreuer <[email protected]>2025-04-19 11:57:00 -0700
committerGitHub <[email protected]>2025-04-19 11:57:00 -0700
commitea85ace4a90baca401e49f35365a6a8f7d3802c4 (patch)
tree298d2c9e79e57d4664e5d30fde499ee215075669 /quantum/process_keycode/process_repeat_key.c
parent88453acc6aa4c92fdcc90f706987114cc4b9a237 (diff)
downloadqmk_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_repeat_key.c')
-rw-r--r--quantum/process_keycode/process_repeat_key.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_repeat_key.c b/quantum/process_keycode/process_repeat_key.c
index 73f4ddedcf..fdeed4f466 100644
--- a/quantum/process_keycode/process_repeat_key.c
+++ b/quantum/process_keycode/process_repeat_key.c
@@ -41,7 +41,10 @@ static bool remember_last_key(uint16_t keycode, keyrecord_t* record, uint8_t* re
#ifdef TRI_LAYER_ENABLE // Ignore Tri Layer keys.
case QK_TRI_LAYER_LOWER:
case QK_TRI_LAYER_UPPER:
-#endif // TRI_LAYER_ENABLE
+#endif // TRI_LAYER_ENABLE
+#ifdef LAYER_LOCK_ENABLE // Ignore Layer Lock key.
+ case QK_LAYER_LOCK:
+#endif // LAYER_LOCK_ENABLE
return false;
// Ignore hold events on tap-hold keys.