ZMK module providing per-key per-layer RGB effects via the modular effect API (zmk_rgb_effect). Extracted from darknao's fork patches. Contents: - Layer effect: registers via ZMK_RGB_EFFECT_DEFINE, renders per-key colors based on active keymap layer - Behaviors: underglow_color, underglow_battery, underglow_indicators - DTS bindings: zmk,underglow-layer + behavior bindings - Event: underglow_color_changed for reactive refresh Requires: ZMK core with rgb-modular branch (effect registration API)
12 lines
242 B
YAML
12 lines
242 B
YAML
# Copyright (c) 2024, The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
description: Set underglow color based on battery level
|
|
|
|
compatible: "zmk,behavior-underglow-battery"
|
|
|
|
include: two_param.yaml
|
|
|
|
properties:
|
|
threshold:
|
|
type: int
|