Ignore the Layer Lock key in Repeat Key and Caps Word. (#25171)
This commit is contained in:
parent
88453acc6a
commit
ea85ace4a9
6 changed files with 91 additions and 9 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue