caps word status led brighness max match users one
This commit is contained in:
parent
f851651b35
commit
96e2d3dd61
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ static void zmk_rgb_underglow_effect_status() {
|
||||||
#if IS_ENABLED(CONFIG_ZMK_RGB_UNDERGLOW_STATUS_CAPS)
|
#if IS_ENABLED(CONFIG_ZMK_RGB_UNDERGLOW_STATUS_CAPS)
|
||||||
struct zmk_led_hsb caps_word_hsb = state.color;
|
struct zmk_led_hsb caps_word_hsb = state.color;
|
||||||
caps_word_hsb.h = zmk_caps_word_state() * CONFIG_ZMK_RGB_UNDERGLOW_STATUS_CAPS_COLOR;
|
caps_word_hsb.h = zmk_caps_word_state() * CONFIG_ZMK_RGB_UNDERGLOW_STATUS_CAPS_COLOR;
|
||||||
caps_word_hsb.b = zmk_caps_word_state() * BRT_MAX;
|
caps_word_hsb.b = zmk_caps_word_state() * caps_word_hsb.b;
|
||||||
|
|
||||||
pixels[CONFIG_ZMK_RGB_UNDERGLOW_STATUS_CAPS_N] = hsb_to_rgb(hsb_scale_zero_max(caps_word_hsb));
|
pixels[CONFIG_ZMK_RGB_UNDERGLOW_STATUS_CAPS_N] = hsb_to_rgb(hsb_scale_zero_max(caps_word_hsb));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue