zmk/app
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
..
boards feat(display): nice!view individual profile status (#2265) 2025-07-26 18:46:51 +02:00
dts underglow-layer: use devicetree & clean up code 2026-06-24 18:55:23 +08:00
include underglow-layer: track layer changes with event & battery life optimization 2026-06-24 18:55:49 +08:00
keymap-module chore: Add a deprecation warning to config/boards (#2811) 2025-02-26 15:16:50 -05:00
module fix(kscan): Remove warning when keyboard is built without CONFIG_PM_DEVICE (#2808) 2025-02-01 11:16:52 -07:00
scripts fix: Support west test when invoked as module 2024-09-06 14:56:40 -04:00
snippets feat(boards): add nrf52840-nosd snippet 2024-11-12 18:28:59 -07:00
src underglow-layer: track layer changes with event & battery life optimization 2026-06-24 18:55:49 +08:00
tests chore: Add some basic encoder tests (#2845) 2025-07-31 18:29:59 -04:00
.gitignore feat(metadata): Add YAML check/format npm scripts. 2021-09-11 00:50:36 -04:00
.prettierrc.js chore: Add typescript support to eslint, fix errors (#2923) 2025-04-22 20:51:41 -07:00
CMakeLists.txt underglow-layer: track layer changes with event & battery life optimization 2026-06-24 18:55:49 +08:00
core-coverage.yml feat(mouse): Add mouse move and scroll support (#2477) 2024-12-09 19:45:41 -05:00
Kconfig ext_power: add Kconfig for initial ext_power state 2026-06-24 18:53:46 +08:00
Kconfig.behaviors refactor(behaviors): Add max-held tap-dance config (#2838) 2025-02-25 14:12:27 -05:00
Kconfig.defaults Feature: Full-Duplex Wired Split (#2766) 2025-03-18 02:48:32 -04:00
package-lock.json chore: Update Prettier 2023-04-24 16:07:04 -07:00
package.json chore: Update Prettier 2023-04-24 16:07:04 -07:00
prj.conf fix: Fix syscalls generation setup. 2024-02-09 14:32:46 -08:00
run-ble-test.sh fix: changed shebang to make scripts more platform independent (#2893) 2025-04-20 04:23:31 -04:00
run-test.sh chore: Allow running tests from anywhere and support EXTRA_MODULES (#2725) 2024-12-20 15:19:56 -05:00
VERSION chore(main): release 0.3.0 (#2858) 2025-08-01 18:44:20 -04:00
west.yml fix(studio): Bump nanopb version with build fixes. 2024-11-01 13:17:29 -06:00