From b4b1bfde41fc2467c0186ef3f0b58ee61b1f42d0 Mon Sep 17 00:00:00 2001 From: dolie Date: Sun, 9 Jul 2023 21:31:58 +0200 Subject: [PATCH] remove layer udg tap because some problems with splitted https://github.com/zmkfirmware/zmk/issues/1347 --- config/corne.conf | 7 ++++--- config/corne.keymap | 31 +------------------------------ 2 files changed, 5 insertions(+), 33 deletions(-) diff --git a/config/corne.conf b/config/corne.conf index 507865f..fe2d19b 100644 --- a/config/corne.conf +++ b/config/corne.conf @@ -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 diff --git a/config/corne.keymap b/config/corne.keymap index 9b9a6c3..8fbb071 100644 --- a/config/corne.keymap +++ b/config/corne.keymap @@ -10,35 +10,6 @@ #include / { - macros { - lnudg: layer_n_udg { - label= "layer_n_udg"; - compatible = "zmk,behavior-macro"; - #binding-cells = <0>; - wait-ms = <0>; - tap-ms = <0>; - bindings - = <¯o_press &mo 1> - , <¯o_tap &rgb_ug RGB_ON> - , <¯o_pause_for_release> - , <¯o_release &mo 1> - , <¯o_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 { @@ -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 < 2 RET &kp RALT + &kp LGUI < 0 TAB &kp SPACE &kp BSPC < 2 RET &kp RALT >; }; lower_layer {