add deep sleep mode

This commit is contained in:
Adam Jeniski 2023-01-14 17:50:19 -05:00 committed by GitHub
parent 8ad37fad51
commit 78f6ec98d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
# Uncomment the following lines to enable RGB underglow # Uncomment the following lines to enable RGB underglow
CONFIG_ZMK_RGB_UNDERGLOW=y CONFIG_ZMK_RGB_UNDERGLOW=y
CONFIG_WS2812_STRIP=y CONFIG_WS2812_STRIP=y
CONFIG_ZMK_IDLE_TIMEOUT=15000
CONFIG_ZMK_SLEEP=y
CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=300000

View File

@ -85,7 +85,7 @@
label = "GLOBAL_QUICK_TAP"; label = "GLOBAL_QUICK_TAP";
#binding-cells = <2>; #binding-cells = <2>;
flavor = "tap-preferred"; flavor = "tap-preferred";
tapping-term-ms = <300>; tapping-term-ms = <250>;
//quick-tap-ms = <-1>; //quick-tap-ms = <-1>;
//global-quick-tap; //global-quick-tap;
bindings = <&kp>, <&kp>; bindings = <&kp>, <&kp>;
@ -136,7 +136,7 @@
bindings = < bindings = <
&rgb_ug RGB_BRI &rgb_ug RGB_SAI &rgb_ug RGB_HUI &rgb_ug RGB_EFF &none &rgb_ug RGB_TOG &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_CLR &rgb_ug RGB_BRI &rgb_ug RGB_SAI &rgb_ug RGB_HUI &rgb_ug RGB_EFF &none &rgb_ug RGB_TOG &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &bt BT_CLR
&rgb_ug RGB_BRD &rgb_ug RGB_SAD &rgb_ug RGB_HUD &rgb_ug RGB_EFR &none &none &kp C_PP &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE &none &out OUT_TOG &rgb_ug RGB_BRD &rgb_ug RGB_SAD &rgb_ug RGB_HUD &rgb_ug RGB_EFR &none &none &kp C_PP &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE &none &out OUT_TOG
&none &none &none &none &none &none &none &none &none &none &none &none &none &none &none &none &none &none &kp CAPS &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none
>; >;
}; };