RGB Underglow Change with Auto-Layer
Is it possible (whether in the current implementation or as a feature request), to activate RGB Underglow/whatever lighting with the num layer? I could see for activating it would be easy to macro the underglow as a toggle/on with the num_word layer, but given that the layer would auto-toggle-off at some point it would immediately be out of sync?
Would be very useful to see if the layer is active or not
Currently this isn't directly supported. It does sound like something that would be nice to have though.
For now, you should be able to set up zmk-listener events for entering and leaving the num layer using @ssbb's module. If you end up with a working configuration, feel free to share here. Others might find it useful as well.
Thanks for the prod in that direction! Very simple. I will post my config here nonetheless
The .keymap file is very simple:
compatible = "zmk,layer-listeners";
nav_num_feedback {
layers = <1>;
bindings = <&rgb_ug RGB_ON &rgb_ug RGB_OFF>;
};
};
and west.yml is also as instructed in the zmk-listener repo. Below is my full west.yml - some may find it useful. Specifically, I had trouble with your leader-key module. I have an eyelash_corne (a popular variant sold on Aliexpress) which has its own ZMK repo with layouts and an experimental module blah blah. Anyway, out-of-the-box it was incompatible with your leader-key module due to the zephyr issue, and pulling the zephyr as your leader-key docs describe is incompatible with something in the eyelash_corne repo. I dug through your config repo's west.yml and figured out what to add to the manifest to get the patched zephyr from its source. Note that I haven't tested anything with the v0.2's that are now released. Sorry, got a bit out of scope here, but I figured whilst I have your attention ;)
remotes:
- name: zmkfirmware
url-base: https://github.com/zmkfirmware
- name: petejohanson
url-base: https://github.com/petejohanson
- name: urob
url-base: https://github.com/urob
- name: zephyrproject-rtos
url-base: https://github.com/zephyrproject-rtos
- name: ssbb
url-base: https://github.com/ssbb
projects:
- name: eyelash_corne
url: https://github.com/a741725193/zmk-new_corne
revision: main
- name: zmk
remote: petejohanson
revision: feat/pointers-with-input-processors
import: app/west.yml
- name: zmk-leader-key
remote: urob
revision: v0.1 # Set to same version as ZMK.
- name: zephyr
remote: urob
revision: v3.5.0+zmk-fixes
clone-depth: 1
import:
path-prefix: modules/zephyr
name-blocklist:
- ci-tools
- hal_altera
- hal_cypress
- hal_infineon
- hal_microchip
- hal_nxp
- hal_openisa
- hal_silabs
- hal_xtensa
- hal_st
- hal_ti
- loramac-node
- mcuboot
- mcumgr
- net-tools
- openthread
- edtt
- trusted-firmware-m
- name: zmk-auto-layer
remote: urob
revision: v0.1 # set to same version as zmk
- name: zmk-listeners
remote: ssbb
revision: v1
self:
path: config