Skip to content

Commit

Permalink
fix(docs): Add required display-name in physical layout examples
Browse files Browse the repository at this point in the history
  • Loading branch information
caksoylar committed Jul 14, 2024
1 parent 8c6bda2 commit 7bd74a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/docs/development/new-shield.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ A physical layout is very basic, e.g.:
/ {
default_layout: default_layout {
compatible = "zmk,physical-layout";
display-name = "Default Layout";
transform = <&default_transform>;
kscan = <&kscan0>;
};
Expand All @@ -397,12 +398,14 @@ When supporting multiple layouts, define the multiple layout nodes and then set
default_layout: default_layout {
compatible = "zmk,physical-layout";
display-name = "Default Layout";
transform = <&default_transform>;
kscan = <&kscan0>;
};
alt_layout: alt_layout {
compatible = "zmk,physical-layout";
display-name = "Alternate Layout";
transform = <&alt_transform>;
kscan = <&alt_kscan0>;
};
Expand Down

0 comments on commit 7bd74a6

Please sign in to comment.