global if behavior name starts with 'layer'
This commit is contained in:
parent
571557ca28
commit
cbb1193c32
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ int zmk_keymap_apply_position_state(uint8_t source, int layer, uint32_t position
|
|||
}
|
||||
|
||||
if (strncmp(binding.behavior_dev, "layer", 5) == 0) {
|
||||
behavior_locality locality = BEHAVIOR_LOCALITY_GLOBAL;
|
||||
locality = BEHAVIOR_LOCALITY_GLOBAL;
|
||||
LOG_DBG("force locality: BEHAVIOR_LOCALITY_GLOBAL because of a 'layer' behavior");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue