From 29f153b8d2d74672efe3d55f711eb6a480711032 Mon Sep 17 00:00:00 2001 From: inkwok Date: Thu, 11 Apr 2024 22:46:12 -0700 Subject: [PATCH] Added RGB, set debounce to 5. Enabled display. --- config/corne.conf | 6 +++--- config/corne.keymap | 15 ++++++++++----- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/config/corne.conf b/config/corne.conf index 76325ce..402f479 100644 --- a/config/corne.conf +++ b/config/corne.conf @@ -1,3 +1,3 @@ -# CONFIG_ZMK_RGB_UNDERGLOW = y -# CONFIG_WS2812_STRIP = y -# CONFIG_ZMK_DISPLAY = y \ No newline at end of file +CONFIG_ZMK_RGB_UNDERGLOW = y +CONFIG_WS2812_STRIP = y +CONFIG_ZMK_DISPLAY = y \ No newline at end of file diff --git a/config/corne.keymap b/config/corne.keymap index 95d04f2..6e5ce67 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -6,14 +6,19 @@ #include #include +#include #define BASE 0 #define IN_L 1 #define IN_R 2 #define FUNC 3 +&led_strip { + chain-length = <21>; +}; + &sk { - release-after-ms = <2000>; + release-after-ms = <3000>; /delete-property/ ignore-modifiers; }; @@ -60,10 +65,10 @@ }; FUNC { bindings = < - &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &trans &kp INS &kp HOME &kp PG_UP &trans &trans - &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &trans &kp DEL &kp END &kp PG_DN &trans &trans - &trans &trans &kp LCTRL &kp LWIN &kp LALT &trans &trans &kp RALT &kp RWIN &kp RCTRL &trans &trans - &trans &trans &trans &trans &trans &trans + &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &rgb_ug RGB_TOG &kp INS &kp HOME &kp PG_UP &rgb_ug RGB_HUI &rgb_ug RGB_HUD + &kp F7 &kp F8 &kp F9 &kp F10 &kp F11 &kp F12 &rgb_ug RGB_EFF &kp DEL &kp END &kp PG_DN &rgb_ug RGB_SAI &rgb_ug RGB_SAD + &trans &trans &kp LCTRL &kp LWIN &kp LALT &trans &rgb_ug RGB_EFR &kp RALT &kp RWIN &kp RCTRL &rgb_ug RGB_BRI &rgb_ug RGB_BRD + &trans &trans &trans &trans &trans &trans >; }; };