Skip to content

Commit

Permalink
remove layer udg tap because some problems with splitted
Browse files Browse the repository at this point in the history
  • Loading branch information
dolie committed Jul 9, 2023
1 parent 075cd3a commit b4b1bfd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 33 deletions.
7 changes: 4 additions & 3 deletions config/corne.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ CONFIG_ZMK_RGB_UNDERGLOW=y
CONFIG_WS2812_STRIP=y
CONFIG_ZMK_RGB_UNDERGLOW_EFF_START=3
CONFIG_ZMK_RGB_UNDERGLOW_SPD_START=2
CONFIG_ZMK_RGB_UNDERGLOW_BRT_START=25
CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=n
CONFIG_ZMK_RGB_UNDERGLOW_BRT_START=10
CONFIG_ZMK_RGB_UNDERGLOW_AUTO_OFF_IDLE=y
CONFIG_ZMK_RGB_UNDERGLOW_EXT_POWER=n
CONFIG_ZMK_RGB_UNDERGLOW_ON_START=n

CONFIG_ZMK_IDLE_TIMEOUT=10000

# Uncomment the following line to enable the Corne OLED Display
# CONFIG_ZMK_DISPLAY=y
31 changes: 1 addition & 30 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,6 @@
#include <dt-bindings/zmk/rgb.h>

/ {
macros {
lnudg: layer_n_udg {
label= "layer_n_udg";
compatible = "zmk,behavior-macro";
#binding-cells = <0>;
wait-ms = <0>;
tap-ms = <0>;
bindings
= <&macro_press &mo 1>
, <&macro_tap &rgb_ug RGB_ON>
, <&macro_pause_for_release>
, <&macro_release &mo 1>
, <&macro_tap &rgb_ug RGB_OFF>;
};
};

behaviors {
lut: layer_udg_tap {
compatible = "zmk,behavior-hold-tap";
label = "layer_udg_tap";
#binding-cells = <2>;
flavor = "tap-preferred";
tapping-term-ms = <200>;
quick-tap-ms = <200>;
bindings = <&lnudg>, <&kp>;
hold-trigger-key-positions = <1>;
};
};

keymap {
compatible = "zmk,keymap";
default_layer {
Expand All @@ -51,7 +22,7 @@
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp LBKT
&kp CAPS &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp GRAVE &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp NUBS
&kp LGUI &lut 0 TAB &kp SPACE &kp BSPC &lt 2 RET &kp RALT
&kp LGUI &lt 0 TAB &kp SPACE &kp BSPC &lt 2 RET &kp RALT
>;
};
lower_layer {
Expand Down

0 comments on commit b4b1bfd

Please sign in to comment.