feat(underglow): Add support for configurable min/max brightness

Co-authored-by: jrhrsmit <jasper.770@gmail.com>
This commit is contained in:
Simon Malinge
2021-10-07 03:54:49 +00:00
committed by Nick Winans
parent 96fea949d5
commit c5b8dd85fd
2 changed files with 30 additions and 11 deletions

View File

@@ -209,7 +209,7 @@ endif
endif
#ZMK_SPLIT
endif
endif
if ZMK_BLE
@@ -262,6 +262,16 @@ config ZMK_RGB_UNDERGLOW_EXT_POWER
bool "RGB underglow toggling also controls external power"
default y
config ZMK_RGB_UNDERGLOW_BRT_MIN
int "RGB underglow minimum brightness in percent"
range 0 100
default 0
config ZMK_RGB_UNDERGLOW_BRT_MAX
int "RGB underglow maximum brightness in percent"
range 0 100
default 100
config ZMK_RGB_UNDERGLOW_HUE_STEP
int "RGB underglow hue step in degrees of 360"
default 10