zmk/app/include
darknao 0ca086a845 underglow-layer: track layer changes with event & battery life optimization
I tried using event instead of the 25ms underglow_tick to update the underglow on
layer change only. That didn't improve the battery life much....
The second change is cutting off the led strip power if the underglow is
not defined for a layer. Power is restored if a layer with rgb is
activated, and cut off as soon as the layer is disabled.
This, on the other hand, improves the battery life a lot, especially if you
don't use rgb on your base layer.
If you are using rgb on your base layer, setting
CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE is highly recommended.
2026-06-24 18:55:49 +08:00
..
drivers Feature: input processor behavior invocation (#2714) 2024-12-17 20:50:06 -05:00
dt-bindings underglow-layer: use devicetree & clean up code 2026-06-24 18:55:23 +08:00
linker Feature: Full-Duplex Wired Split (#2766) 2025-03-18 02:48:32 -04:00
zmk underglow-layer: track layer changes with event & battery life optimization 2026-06-24 18:55:49 +08:00