From 58fa9462b206a47e0707d913d440db78c03cc133 Mon Sep 17 00:00:00 2001 From: Nikodem <62289991+NikodemMarek@users.noreply.github.com> Date: Sat, 27 Apr 2024 14:53:00 +0000 Subject: [PATCH] space or momentary special layer --- config/cradio.keymap | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index fdcb344..c76df71 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -149,6 +149,16 @@ tapping-term-ms = <100>; quick-tap-ms = <50>; }; + + special_space: special_space { + compatible = "zmk,behavior-hold-tap"; + label = "SPECIAL_SPACE"; + bindings = <&mo>, <&kp>; + + #binding-cells = <2>; + tapping-term-ms = <200>; + quick-tap-ms = <100>; + }; }; keymap { @@ -156,10 +166,10 @@ dvorak { bindings = < -&kp ENTER &kp TAB &kp BACKSPACE &kp P &kp Y &kp F &kp G &kp C &kp R &kp L -&kp A &kp O &kp E &kp U &kp I &kp D &kp H &kp T &kp N &kp S -&key_repeat &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z - &mod_hold 1 1 < 2 ESCAPE &kp SPACE &mod_hold 3 3 +&kp ENTER &kp TAB &kp BACKSPACE &kp P &kp Y &kp F &kp G &kp C &kp R &kp L +&kp A &kp O &kp E &kp U &kp I &kp D &kp H &kp T &kp N &kp S +&key_repeat &kp Q &kp J &kp K &kp X &kp B &kp M &kp W &kp V &kp Z + &mod_hold 1 1 < 2 ESCAPE &special_space 3 SPACE &mod_hold 3 3 >; label = "dvorak"; @@ -222,10 +232,10 @@ qwerty { bindings = < -&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P -&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &key_repeat -&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp BACKSPACE &kp TAB &kp ENTER - &mod_hold 1 1 &kp ESCAPE &kp SPACE &sl 3 +&kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P +&kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &key_repeat +&kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp BACKSPACE &kp TAB &kp ENTER + &mod_hold 1 1 &kp ESCAPE &special_space 3 SPACE &sl 3 >; };