Per key/layer RGB underglow for 24.12 #36
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds per key / per layer RGB underglow configuration on top of 24.12.
It's mainly based on @valdur mod with additional changes to make it configurable via devicetree.
This supersedes #30.
It includes:
How to use:
More instructions are available on my config repo.
TLDR: Add and customize this snippet to the Custom Device-tree field in the layout editor:
______
means the RGB is off. You can use predefined color name or RGB hex code like0xFF0000
for red.Full example on the Layout Editor here
To preserve battery life, I recommend enabling the
ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE
KConfig to automatically turn off underglow afterZMK_IDLE_TIMEOUT
ms (default to 30 seconds).From my limited experience, you can expect around one week of battery life with no RGB on the base layer.