generated from zmkfirmware/unified-zmk-config-template
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Kconfig
48 lines (34 loc) · 1.18 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
config RGBLED_WIDGET
bool "Enable RGB LED widget for showing battery and output status"
if RGBLED_WIDGET
config LED
default y
config RGBLED_WIDGET_BATTERY_BLINK_MS
int "Duration of battery level blink in ms"
default 2000
config RGBLED_WIDGET_OUTPUT_BLINK_MS
int "Duration of BLE connection status blink in ms"
default 1000
config RGBLED_WIDGET_INTERVAL_MS
int "Minimum wait duration between two blinks in ms"
default 500
config RGBLED_WIDGET_BATTERY_LEVEL_HIGH
int "High battery level percentage"
default 80
config RGBLED_WIDGET_BATTERY_LEVEL_LOW
int "Low battery level percentage"
default 20
config RGBLED_WIDGET_BATTERY_LEVEL_CRITICAL
int "Critical battery level percentage"
default 5
config RGBLED_WIDGET_SHOW_LAYER_CHANGE
bool "Indicate highest active layer on each layer change with a sequence of blinks"
if RGBLED_WIDGET_SHOW_LAYER_CHANGE
config RGBLED_WIDGET_LAYER_BLINK_MS
int "Blink and wait duration for layer indicator"
default 100
config RGBLED_WIDGET_LAYER_DEBOUNCE_MS
int "Wait duration after a layer change before showing the highest active layer"
default 100
endif # RGBLED_WIDGET_SHOW_LAYER_CHANGE
endif