Skip to content

Commit

Permalink
fix(docs): Fix row/col comments in matrix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
caksoylar authored and petejohanson committed Sep 3, 2023
1 parent fd47965 commit 1e11e84
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions docs/docs/config/kscan.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,7 @@ Any keyboard which is not a grid of 1 unit keys will likely have some unused pos
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
rows = <5>;
columns = <4>;
// define the matrix...
// define row-gpios with 5 elements and col-gpios with 4...
};
default_transform: matrix_transform {
Expand Down Expand Up @@ -358,9 +356,7 @@ Consider a keyboard with a [duplex matrix](https://wiki.ai03.com/books/pcb-desig
kscan0: kscan {
compatible = "zmk,kscan-gpio-matrix";
rows = <12>;
columns = <8>;
// define the matrix...
// define row-gpios with 12 elements and col-gpios with 8...
};
default_transform: matrix_transform {
Expand Down

0 comments on commit 1e11e84

Please sign in to comment.