From 92c212e7e013bceebf89e84c1b514ec4a105c66c Mon Sep 17 00:00:00 2001 From: ReFil <31960031+ReFil@users.noreply.github.com> Date: Tue, 14 Jan 2025 19:11:33 +0000 Subject: [PATCH] Try more lighting tweaks --- app/src/behaviors/behavior_rgb_underglow.c | 2 +- app/src/rgb_underglow.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/behaviors/behavior_rgb_underglow.c b/app/src/behaviors/behavior_rgb_underglow.c index 1f8dca8ffdb..bb07d1ffb36 100644 --- a/app/src/behaviors/behavior_rgb_underglow.c +++ b/app/src/behaviors/behavior_rgb_underglow.c @@ -266,7 +266,7 @@ static const struct behavior_driver_api behavior_rgb_underglow_driver_api = { on_keymap_binding_convert_central_state_dependent_params, .binding_pressed = on_keymap_binding_pressed, .binding_released = on_keymap_binding_released, - .locality = BEHAVIOR_LOCALITY_GLOBAL, + .locality = BEHAVIOR_LOCALITY_CENTRAL, #if IS_ENABLED(CONFIG_ZMK_BEHAVIOR_METADATA) .parameter_metadata = &metadata, #endif diff --git a/app/src/rgb_underglow.c b/app/src/rgb_underglow.c index a6253e0d1a1..f11ddd98dd1 100644 --- a/app/src/rgb_underglow.c +++ b/app/src/rgb_underglow.c @@ -172,7 +172,7 @@ int zmk_rgb_underglow_set_periph(struct zmk_periph_led periph) { else if (state.on && !led_data.on) zmk_rgb_underglow_off(); - LOG_DBG("Update led_data %d %d", led_data.layer, led_data.indicators); + LOG_DBG("Update led_data %d %d %d", led_data.layer, led_data.indicators, led_data.on); return 0; }