Skip to content

Commit

Permalink
acorn: update corne physical-layout imports
Browse files Browse the repository at this point in the history
  • Loading branch information
numToStr committed Oct 8, 2024
1 parent 1adde72 commit a86b645
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions boards/shields/acorn/acorn.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
&kp TAB &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp BSPC
&kp LCTRL &kp A &kp S &kp D &kp F &kp G &kp H &kp J &kp K &kp L &kp SEMI &kp SQT
&kp LSHFT &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp ESC
&kp LGUI &mo 1 &kp SPACE &kp RET &mo 2 &kp RALT
&kp LGUI &mo 1 &kp SPACE &kp RET &mo 2 &kp LALT
>;
};

Expand All @@ -43,7 +43,7 @@
&kp TAB &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &kp BSPC
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4 &kp LEFT &kp DOWN &kp UP &kp RIGHT &trans &trans
&kp LSHFT &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans &trans
&kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
&kp LGUI &trans &kp SPACE &kp RET &trans &kp LALT
>;
};

Expand All @@ -58,10 +58,10 @@
&kp TAB &kp EXCL &kp AT &kp HASH &kp DLLR &kp PRCNT &kp CARET &kp AMPS &kp ASTRK &kp LPAR &kp RPAR &kp BSPC
&kp LCTRL &trans &trans &trans &trans &trans &kp MINUS &kp EQUAL &kp LBKT &kp RBKT &kp BSLH &kp GRAVE
&kp LSHFT &trans &trans &trans &trans &trans &kp UNDER &kp PLUS &kp LBRC &kp RBRC &kp PIPE &kp TILDE
&kp LGUI &trans &kp SPACE &kp RET &trans &kp RALT
&kp LGUI &trans &kp SPACE &kp RET &trans &kp LALT
>;
};

extra_layer0 {
display-name = "extra_layer0";
status = "reserved";
Expand Down
7 changes: 4 additions & 3 deletions boards/shields/acorn/acorn_matrix.dtsi
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <dt-bindings/zmk/matrix_transform.h>
#include <physical_layouts.dtsi>
#include <layouts/foostan/corne.dtsi>

#include <layouts/foostan/corne/5column.dtsi>
#include <layouts/foostan/corne/6column.dtsi>

&foostan_corne_6col_layout {
transform = <&six_col_transform>;
Expand Down Expand Up @@ -51,7 +52,7 @@
RC(3,3) RC(3,4) RC(3,5) RC(3,6) RC(3,7) RC(3,8)
>;
};

five_col_transform: five_col_transform {
compatible = "zmk,matrix-transform";
columns = <10>;
Expand Down

0 comments on commit a86b645

Please sign in to comment.