fix(docs): Fix row/col comments in matrix examples
This commit is contained in:
parent
fd47965838
commit
1e11e84d0d
1 changed files with 2 additions and 6 deletions
|
@ -296,9 +296,7 @@ Any keyboard which is not a grid of 1 unit keys will likely have some unused pos
|
||||||
|
|
||||||
kscan0: kscan {
|
kscan0: kscan {
|
||||||
compatible = "zmk,kscan-gpio-matrix";
|
compatible = "zmk,kscan-gpio-matrix";
|
||||||
rows = <5>;
|
// define row-gpios with 5 elements and col-gpios with 4...
|
||||||
columns = <4>;
|
|
||||||
// define the matrix...
|
|
||||||
};
|
};
|
||||||
|
|
||||||
default_transform: matrix_transform {
|
default_transform: matrix_transform {
|
||||||
|
@ -358,9 +356,7 @@ Consider a keyboard with a [duplex matrix](https://wiki.ai03.com/books/pcb-desig
|
||||||
|
|
||||||
kscan0: kscan {
|
kscan0: kscan {
|
||||||
compatible = "zmk,kscan-gpio-matrix";
|
compatible = "zmk,kscan-gpio-matrix";
|
||||||
rows = <12>;
|
// define row-gpios with 12 elements and col-gpios with 8...
|
||||||
columns = <8>;
|
|
||||||
// define the matrix...
|
|
||||||
};
|
};
|
||||||
|
|
||||||
default_transform: matrix_transform {
|
default_transform: matrix_transform {
|
||||||
|
|
Loading…
Add table
Reference in a new issue