global if behavior name starts with 'layer'
This commit is contained in:
parent
9ea017eef4
commit
4bfe7394b5
2 changed files with 2 additions and 5 deletions
|
@ -37,10 +37,10 @@ static void behavior_queue_process_next(struct k_work *work) {
|
|||
.timestamp = k_uptime_get()};
|
||||
|
||||
if (item.press) {
|
||||
zmk_run_behavior(&item.binding, event,true)
|
||||
zmk_run_behavior(&item.binding, event,true);
|
||||
// behavior_keymap_binding_pressed(&item.binding, event);
|
||||
} else {
|
||||
zmk_run_behavior(&item.binding, event,false)
|
||||
zmk_run_behavior(&item.binding, event,false);
|
||||
// behavior_keymap_binding_released(&item.binding, event);
|
||||
}
|
||||
|
||||
|
|
|
@ -475,9 +475,6 @@ static int rgb_underglow_auto_state(bool *prev_state, bool new_state) {
|
|||
|
||||
static int rgb_underglow_event_listener(const zmk_event_t *eh) {
|
||||
|
||||
LOG_DBG("rgb_underglow_event_listener");
|
||||
|
||||
|
||||
#if IS_ENABLED(CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE)
|
||||
if (as_zmk_activity_state_changed(eh)) {
|
||||
static bool prev_state = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue