Skip to content

Commit

Permalink
fix(docs): Make clear the matrix transform example is incomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
caksoylar committed Apr 9, 2024
1 parent 7a51a46 commit dfc6dc8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/docs/development/new-shield.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,8 @@ Here is an example for the [nice60](https://github.com/Nicell/nice60), which use
zmk,matrix-transform = &default_transform;
};
/* define kscan node with label `kscan0`... */
default_transform: keymap_transform_0 {
compatible = "zmk,matrix-transform";
columns = <8>;
Expand All @@ -365,6 +367,9 @@ RC(6,0) RC(6,1) RC(6,2) RC(6,3) RC(5,3) RC(6,4) RC(5,4) RC(6,5) RC(5,5) RC
RC(7,0) RC(7,1) RC(7,2) RC(7,3) RC(7,5) RC(7,6) RC(6,7) RC(7,7)
>;
};
/* potentially other overlay nodes... */
};
```

Some important things to note:
Expand Down

0 comments on commit dfc6dc8

Please sign in to comment.