From e2a90974e3ef859dfef9e5d47a59b61e8bb7a478 Mon Sep 17 00:00:00 2001 From: Peter Johanson Date: Sun, 6 Feb 2022 21:04:42 -0500 Subject: [PATCH] fix(lighting): Proper split backlight support. Ensure the backlight behavior is run globally. --- app/src/behaviors/behavior_backlight.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/behaviors/behavior_backlight.c b/app/src/behaviors/behavior_backlight.c index bdad828d..8876c1f1 100644 --- a/app/src/behaviors/behavior_backlight.c +++ b/app/src/behaviors/behavior_backlight.c @@ -88,6 +88,7 @@ static const struct behavior_driver_api behavior_backlight_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, }; DEVICE_DT_INST_DEFINE(0, behavior_backlight_init, device_pm_control_nop, NULL, NULL, APPLICATION,