Browse Source

fix(lighting): Proper split backlight support.

Ensure the backlight behavior is run globally.
xmkb
Peter Johanson 3 years ago
parent
commit
e2a90974e3
  1. 1
      app/src/behaviors/behavior_backlight.c

1
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, on_keymap_binding_convert_central_state_dependent_params,
.binding_pressed = on_keymap_binding_pressed, .binding_pressed = on_keymap_binding_pressed,
.binding_released = on_keymap_binding_released, .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, DEVICE_DT_INST_DEFINE(0, behavior_backlight_init, device_pm_control_nop, NULL, NULL, APPLICATION,

Loading…
Cancel
Save