Skip to content

Commit 874d52d

Browse files
authored
change power config for rgb
1 parent cf2df13 commit 874d52d

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

config/boards/shields/corne/corne.conf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ CONFIG_ZMK_DISPLAY_STATUS_SCREEN_BUILT_IN=y
2323
CONFIG_ZMK_DISPLAY_STATUS_SCREEN_CUSTOM=y
2424

2525
#休眠相关配置
26-
# Milliseconds of inactivity before entering idle state (10 minute)
27-
CONFIG_ZMK_IDLE_TIMEOUT=600000
26+
# Milliseconds of inactivity before entering idle state (5 minute)
27+
CONFIG_ZMK_IDLE_TIMEOUT=300000
2828
# Enable deep sleep support
2929
CONFIG_ZMK_SLEEP=y
30-
# Milliseconds of inactivity before entering deep sleep (15 minutes)
31-
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000
30+
# Milliseconds of inactivity before entering deep sleep (10 minutes)
31+
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=600000
3232

3333
# zmk studio相关配置
3434
CONFIG_ZMK_STUDIO=y
@@ -43,4 +43,4 @@ CONFIG_ZMK_BACKLIGHT_AUTO_OFF_IDLE=y
4343
CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
4444
CONFIG_ZMK_RGB_UNDERGLOW_EFF_START=3
4545
CONFIG_ZMK_RGB_UNDERGLOW_BRT_MAX=60
46-
CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=n
46+
CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=y

config/boards/shields/corne/corne_left.conf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ CONFIG_WS2812_STRIP=y
99
#键盘进入空闲状态时关闭RGB
1010
CONFIG_ZMK_BACKLIGHT_AUTO_OFF_IDLE=y
1111
CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
12-
12+
CONFIG_ZMK_RGB_UNDERGLOW_EFF_START=3
13+
CONFIG_ZMK_RGB_UNDERGLOW_BRT_MAX=60
14+
CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=y
1315

1416
# OLED配置
1517
CONFIG_ZMK_DISPLAY=y
@@ -23,3 +25,9 @@ CONFIG_ZMK_DISPLAY=y
2325
# label
2426
#CONFIG_ZMK_WIDGET_LABEL=y
2527
#CONFIG_ZMK_WIDGET_LABEL_TEXT="---- Corne_V3"
28+
# Milliseconds of inactivity before entering idle state (5 minute)
29+
CONFIG_ZMK_IDLE_TIMEOUT=300000
30+
# Enable deep sleep support
31+
CONFIG_ZMK_SLEEP=y
32+
# Milliseconds of inactivity before entering deep sleep (10 minutes)
33+
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=600000

config/boards/shields/corne/corne_right.conf

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ CONFIG_WS2812_STRIP=y
44
#键盘进入空闲状态时关闭RGB
55
CONFIG_ZMK_BACKLIGHT_AUTO_OFF_IDLE=y
66
CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
7-
7+
CONFIG_ZMK_RGB_UNDERGLOW_EFF_START=3
8+
CONFIG_ZMK_RGB_UNDERGLOW_BRT_MAX=60
9+
CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=y
810
# OLED配置
911
#CONFIG_ZMK_DISPLAY=y
1012
#CONFIG_ZMK_WIDGET_BONGO_CAT=y
@@ -17,3 +19,9 @@ CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
1719
#CONFIG_ZMK_WIDGET_LABEL=y
1820
#CONFIG_ZMK_WIDGET_LABEL_TEXT="---- Corne_V3"
1921
#CONFIG_ZMK_WIDGET_WPM_STATUS=y
22+
# Milliseconds of inactivity before entering idle state (5 minute)
23+
CONFIG_ZMK_IDLE_TIMEOUT=300000
24+
# Enable deep sleep support
25+
CONFIG_ZMK_SLEEP=y
26+
# Milliseconds of inactivity before entering deep sleep (10 minutes)
27+
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=600000

0 commit comments

Comments
 (0)