Skip to content

Commit

Permalink
click multiple mods
Browse files Browse the repository at this point in the history
  • Loading branch information
NikodemMarek committed Jan 23, 2024
1 parent 516aaf1 commit a3ae76c
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions config/cradio.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,27 @@
};
};

behaviors {
mod_hold: mod_hold {
compatible = "zmk,behavior-hold-tap";
label = "MOD_HOLD";
bindings = <&mo>, <&sl>;

#binding-cells = <2>;
tapping-term-ms = <200>;
flavor = "tap-preferred";
};
};

keymap {
compatible = "zmk,keymap";

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
&sl 1 &kp ESCAPE &kp SPACE &sl 2
&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 &kp ESCAPE &kp SPACE &sl 2
>;

label = "dvorak";
Expand Down Expand Up @@ -206,10 +218,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
&sl 1 &kp ESCAPE &kp SPACE &sl 2
&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 2
>;
};

Expand Down

0 comments on commit a3ae76c

Please sign in to comment.