Skip to content

Commit

Permalink
Added RGB, set debounce to 5. Enabled display.
Browse files Browse the repository at this point in the history
  • Loading branch information
inkwok committed Apr 12, 2024
1 parent 1be9d99 commit 29f153b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
6 changes: 3 additions & 3 deletions config/corne.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# CONFIG_ZMK_RGB_UNDERGLOW = y
# CONFIG_WS2812_STRIP = y
# CONFIG_ZMK_DISPLAY = y
CONFIG_ZMK_RGB_UNDERGLOW = y
CONFIG_WS2812_STRIP = y
CONFIG_ZMK_DISPLAY = y
15 changes: 10 additions & 5 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,19 @@

#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/rgb.h>

#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;
};

Expand Down Expand Up @@ -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
>;
};
};
Expand Down

0 comments on commit 29f153b

Please sign in to comment.