Ignore the Layer Lock key in Repeat Key and Caps Word. (#25171)

This commit is contained in:
Pascal Getreuer 2025-04-19 11:57:00 -07:00 committed by GitHub
parent 88453acc6a
commit ea85ace4a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 91 additions and 9 deletions

View file

@ -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.