global if behavior name starts with 'layer'
This commit is contained in:
parent
c2992bf0e5
commit
69b50b8ce7
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ static void behavior_queue_process_next(struct k_work *work) {
|
||||||
if (item.press) {
|
if (item.press) {
|
||||||
if(strncmp(item.binding.behavior_dev,"RGB_UG",6)==0){
|
if(strncmp(item.binding.behavior_dev,"RGB_UG",6)==0){
|
||||||
LOG_DBG("RGB_COLOR_HSB_CMD sending binding to peripheral");
|
LOG_DBG("RGB_COLOR_HSB_CMD sending binding to peripheral");
|
||||||
zmk_split_bt_invoke_behavior(0, &binding, event, true);
|
zmk_split_bt_invoke_behavior(0, &item.binding, event, true);
|
||||||
}
|
}
|
||||||
behavior_keymap_binding_pressed(&item.binding, event);
|
behavior_keymap_binding_pressed(&item.binding, event);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue