summaryrefslogtreecommitdiff
path: root/quantum/process_keycode/process_repeat_key.c
diff options
context:
space:
mode:
authorPascal Getreuer <50221757+getreuer@users.noreply.github.com>2025-04-19 11:57:00 -0700
committerGitHub <noreply@github.com>2025-04-19 11:57:00 -0700
commitea85ace4a90baca401e49f35365a6a8f7d3802c4 (patch)
tree298d2c9e79e57d4664e5d30fde499ee215075669 /quantum/process_keycode/process_repeat_key.c
parent88453acc6aa4c92fdcc90f706987114cc4b9a237 (diff)
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
41#ifdef TRI_LAYER_ENABLE // Ignore Tri Layer keys. 41#ifdef TRI_LAYER_ENABLE // Ignore Tri Layer keys.
42 case QK_TRI_LAYER_LOWER: 42 case QK_TRI_LAYER_LOWER:
43 case QK_TRI_LAYER_UPPER: 43 case QK_TRI_LAYER_UPPER:
44#endif // TRI_LAYER_ENABLE 44#endif // TRI_LAYER_ENABLE
45#ifdef LAYER_LOCK_ENABLE // Ignore Layer Lock key.
46 case QK_LAYER_LOCK:
47#endif // LAYER_LOCK_ENABLE
45 return false; 48 return false;
46 49
47 // Ignore hold events on tap-hold keys. 50 // Ignore hold events on tap-hold keys.