Skip to content

Commit 71c7568

Browse files
committed
Use corne layout
1 parent 53fb0ca commit 71c7568

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

config/boards/shields/totem/totem.dtsi

+15-14
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,27 @@
77
#include <dt-bindings/zmk/matrix_transform.h>
88
#include <physical_layouts.dtsi>
99

10+
11+
&foostan_corne_6col_layout {
12+
transform = <&default_transform>;
13+
};
14+
15+
1016
/ {
1117
chosen {
1218
zmk,kscan = &kscan0;
13-
zmk,physical-layout = &default_layout;
19+
zmk,matrix_transform = &default_transform;
20+
zmk,physical-layout = &foostan_corne_6col_layout;
1421
};
1522

1623
default_transform: keymap_transform_0 {
17-
compatible = "zmk,matrix-transform";
18-
columns = <10>;
19-
rows = <4>;
20-
// | SW01 | SW02 | SW03 | SW04 | SW05 | | SW05 | SW04 | SW03 | SW02 | SW01 |
21-
// | SW06 | SW07 | SW08 | SW09 | SW10 | | SW10 | SW09 | SW08 | SW07 | SW06 |
22-
// | SW16 | SW11 | SW12 | SW13 | SW14 | SW15 | | SW15 | SW14 | SW13 | SW12 | SW11 | SW16 |
23-
// | SW17 | SW18 | SW19 | | SW19 | SW18 | SW17 |
24-
map = <
25-
RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9)
26-
RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9)
27-
RC(3,0) RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(3,9)
28-
RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(3,6) RC(3,7)
29-
>;
24+
compatible = "zmk,matrix-transform";
25+
columns = <12>;
26+
rows = <4>;
27+
map = < RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9) RC(0,10) RC(0,11)
28+
RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,6) RC(1,7) RC(1,8) RC(1,9) RC(1,10) RC(1,11)
29+
RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,6) RC(2,7) RC(2,8) RC(2,9) RC(2,10) RC(2,11)
30+
RC(3,3) RC(3,4) RC(3,5) RC(3,6) RC(3,7) RC(3,8) >;
3031
};
3132

3233
default_layout: default_layout {

0 commit comments

Comments
 (0)