From 5e053f8d8838401246dda2724cf2928fc71e1ff6 Mon Sep 17 00:00:00 2001 From: Chatblanc77 <107761260+Chatblanc77@users.noreply.github.com> Date: Thu, 8 Sep 2022 15:54:41 +0700 Subject: [PATCH] Update Kconfig.defconfig --- app/boards/shields/sofle/Kconfig.defconfig | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/app/boards/shields/sofle/Kconfig.defconfig b/app/boards/shields/sofle/Kconfig.defconfig index 69dac3f2..a0029374 100644 --- a/app/boards/shields/sofle/Kconfig.defconfig +++ b/app/boards/shields/sofle/Kconfig.defconfig @@ -46,4 +46,76 @@ endchoice endif # LVGL +if ZMK_RGB_UNDERGLOW + +# This default value cuts down on tons of excess .conf files, if you're using GPIO, manually disable this +config SPI + default y + +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 ZMK_RGB_UNDERGLOW_BRT_MIN 100 + default 100 + +config ZMK_RGB_UNDERGLOW_HUE_STEP + int "RGB underglow hue step in degrees" + range 0 359 + default 10 + +config ZMK_RGB_UNDERGLOW_SAT_STEP + int "RGB underglow saturation step in percent" + range 0 100 + default 10 + +config ZMK_RGB_UNDERGLOW_BRT_STEP + int "RGB underglow brightness step in percent" + range 0 100 + default 10 + +config ZMK_RGB_UNDERGLOW_HUE_START + int "RGB underglow start hue value in degrees" + range 0 359 + default 0 + +config ZMK_RGB_UNDERGLOW_SAT_START + int "RGB underglow start saturations value in percent" + range 0 100 + default 100 + +config ZMK_RGB_UNDERGLOW_BRT_START + int "RGB underglow start brightness value in percent" + range ZMK_RGB_UNDERGLOW_BRT_MIN ZMK_RGB_UNDERGLOW_BRT_MAX + default ZMK_RGB_UNDERGLOW_BRT_MAX + +config ZMK_RGB_UNDERGLOW_SPD_START + int "RGB underglow start animation speed value" + range 1 5 + default 3 + +config ZMK_RGB_UNDERGLOW_EFF_START + int "RGB underglow start effect int value related to the effect enum list" + range 0 3 + default 0 + +config ZMK_RGB_UNDERGLOW_ON_START + bool "RGB underglow starts on by default" + default y + +config ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE + bool "Turn off RGB underglow when keyboard goes into idle state" + +config ZMK_RGB_UNDERGLOW_AUTO_OFF_USB + bool "Turn off RGB underglow when USB is disconnected" + depends on USB_DEVICE_STACK + +#ZMK_RGB_UNDERGLOW endif