Skip to content

Commit

Permalink
Mais Alguns &as que faltavam
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] authored Jul 29, 2024
1 parent afa668e commit 96c3bc7
Showing 1 changed file with 34 additions and 36 deletions.
70 changes: 34 additions & 36 deletions config/splitkb_aurora_sofle.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -10,44 +10,42 @@
#include <dt-bindings/zmk/mouse.h>

/ {
behaviors {
as_ht: autoshift_hold_tap {
compatible = "zmk,behavior-hold-tap";
label = "AUTOSHIFT_HOLD_TAP";
#binding-cells = <2>;
tapping-term-ms = <200>;
bindings = <&shifted>, <&kp>;
behaviors {
as_ht: autoshift_hold_tap {
compatible = "zmk,behavior-hold-tap";
label = "AUTOSHIFT_HOLD_TAP";
#binding-cells = <2>;
tapping-term-ms = <200>;
bindings = <&shifted>, <&kp>;
};
};
};

macros {
shifted: macro_shifted_kp {
#binding-cells = <1>;
label = "MACRO_SHIFTED_KP";
compatible = "zmk,behavior-macro-one-param";
bindings =
<&macro_press &kp LSHFT>,
<&macro_param_1to1 &macro_tap &kp MACRO_PLACEHOLDER>,
<&macro_release &kp LSHFT>;
};
macros {
shifted: macro_shifted_kp {
#binding-cells = <1>;
label = "MACRO_SHIFTED_KP";
compatible = "zmk,behavior-macro-one-param";
bindings =
<&macro_press>,
<&kp LSHFT &macro_param_1to1>,
<&macro_tap>,
<&kp MACRO_PLACEHOLDER>,
<&macro_release>,
<&kp LSHFT>;
};

as: autoshift {
compatible = "zmk,behavior-macro-one-param";
#binding-cells = <1>;
label = "AUTOSHIFT_KP";
bindings =
<&macro_press>,
<&macro_param_1to1>,
<&macro_param_1to2>,
<&as_ht MACRO_PLACEHOLDER MACRO_PLACEHOLDER>,
<&macro_pause_for_release>,
<&macro_release>,
<&macro_param_1to1>,
<&macro_param_1to2>,
<&as_ht MACRO_PLACEHOLDER MACRO_PLACEHOLDER>;
as: autoshift {
compatible = "zmk,behavior-macro-one-param";
#binding-cells = <1>;
label = "AUTOSHIFT_KP";
bindings =
<&macro_press>,
<&macro_param_1to1 &macro_param_1to2 &as_ht MACRO_PLACEHOLDER MACRO_PLACEHOLDER>,
<&macro_pause_for_release>,
<&macro_release>,
<&macro_param_1to1 &macro_param_1to2 &as_ht MACRO_PLACEHOLDER MACRO_PLACEHOLDER>;
};
};
};


keymap {
compatible = "zmk,keymap";
Expand Down Expand Up @@ -83,8 +81,8 @@

bindings = <
&kp CAPS &kp F1 &kp F2 &kp F3 &kp F4 &kp F5 &kp F6 &kp F7 &kp F8 &kp F9 &kp F10 &kp MINUS
&kp TAB &kp LS(EXCL) &kp LA(N0) &kp LA(EQUAL) &kp LS(STAR) &kp LS(LPAR) &kp LS(AMPS) &kp N7 &kp N8 &kp N9 &kp LS(PRCNT) &kp LBKT
&kp LALT &kp LS(UNDER) &kp LA(N2) &kp LA(N3) &kp LA(N4) &kp LA(N9) &kp LS(PLUS) &kp N4 &kp N5 &kp N6 &kp EQUAL &kp BSLH
&kp TAB &kp LS(EXCL) &kp LA(N0) &kp LA(EQUAL) &kp LS(STAR) &kp LS(LPAR) &kp LS(AMPS) &kp N7 &kp N8 &kp N9 &kp LS(PRCNT) &as LBKT
&kp LALT &kp LS(UNDER) &kp LA(N2) &kp LA(N3) &kp LA(N4) &kp LA(N9) &kp LS(PLUS) &kp N4 &kp N5 &kp N6 &kp EQUAL &as BSLH
&kp LSHFT &kp LS(NUMBER_3) &kp F2 &kp F4 &none &kp LS(GRAVE) &trans &trans &kp N0 &kp N1 &kp N2 &kp N3 &kp FSLH &kp RET
&kp LS(LA(LC(Q))) &kp LCTRL &kp LALT &trans &trans &trans &kp TAB &kp LS(RPAR) &kp COMMA &kp DOT
>;
Expand Down

0 comments on commit 96c3bc7

Please sign in to comment.