Skip to content

Commit ae43af8

Browse files
authored
46JUZHEN
1 parent 916f0d8 commit ae43af8

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

config/boards/shields/crosses/crosses.dtsi

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@
1111
default_transform: keymap_transform_0 {
1212
compatible = "zmk,matrix-transform";
1313
columns = <12>;
14-
rows = <4>;
14+
rows = <5>;
1515

1616
map = <
1717
RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,11) RC(0,10) RC(0,9) RC(0,8) RC(0,7) RC(0,6)
1818
RC(1,0) RC(1,1) RC(1,2) RC(1,3) RC(1,4) RC(1,5) RC(1,11) RC(1,10) RC(1,9) RC(1,8) RC(1,7) RC(1,6)
1919
RC(2,0) RC(2,1) RC(2,2) RC(2,3) RC(2,4) RC(2,5) RC(2,11) RC(2,10) RC(2,9) RC(2,8) RC(2,7) RC(2,6)
20-
RC(3,3) RC(3,4) RC(3,5) RC(3,11) RC(3,10) RC(3,9)
20+
RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(3,11) RC(3,10) RC(3,9) RC(3,8) RC(3,7) RC(3,6)
21+
RC(4,3) RC(4,4) RC(4,5) RC(4,11) RC(4,10) RC(4,9)
2122
>;
2223
};
2324

@@ -27,7 +28,8 @@
2728

2829
diode-direction = "row2col";
2930
row-gpios
30-
= <&gpio0 2 GPIO_ACTIVE_HIGH>
31+
= <&gpio0 24 GPIO_ACTIVE_HIGH>
32+
, <&gpio0 2 GPIO_ACTIVE_HIGH>
3133
, <&gpio0 29 GPIO_ACTIVE_HIGH>
3234
, <&gpio0 31 GPIO_ACTIVE_HIGH>
3335
, <&gpio0 11 GPIO_ACTIVE_HIGH>

0 commit comments

Comments
 (0)