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