Skip to content

Commit

Permalink
create tap dance for alt shift on left side
Browse files Browse the repository at this point in the history
Signed-off-by: ChairBorn <[email protected]>
  • Loading branch information
ChairBorn committed Jan 2, 2025
1 parent dd7a8f9 commit f5691db
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/keys.h>

/ {
combos {
Expand All @@ -33,6 +34,15 @@
};
};

behaviors {
lalt_to_shift: lalt_to_shift {
compatible = "zmk,behavior-tap-dance";
label = "LALT_TO_SHIFT";
#binding-cells = <0>;
bindings = <&kp LALT>, <&kt LSHIFT>;
};
};

keymap {
compatible = "zmk,keymap";

Expand All @@ -44,10 +54,10 @@
// | ALT | LWR | SPC | | ENT | RSE | GUI |

bindings = <
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BACKSPACE
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp DEL
&kp LSHIFT &mo 1 &kp SPACE &kp ENTER &mo 2 &kp RALT
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BACKSPACE
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp DEL
&lalt_to_shift &mo 1 &kp SPACE &kp ENTER &mo 2 &kp RSHIFT
>;
};

Expand Down

0 comments on commit f5691db

Please sign in to comment.