feat(shields): Add physical layouts for tester_xiao and tester_pro_micro (#2852)

feat(shields): Add tester_xiao layouts

Added two layouts for the XIAO tester shield:

 - Keys arranged to match the XIAO pinout, viewed from the front
 - Single row of eleven keys

These layouts are abstractions since the tester_xiao shield may be
used in a situation where the "keys" are actually jumper wires on a
breadboard or the like.

feat(shields): Add tester_pro_micro layouts

Added two layouts for the Pro Micro tester shield:

 - Keys arranged to match the Pro Micro pinout, viewed from the front
 - Single row of eighteen keys
This commit is contained in:
Allister MacLeod
2025-03-07 21:22:25 -05:00
committed by GitHub
parent 241ff39556
commit eb170c930f
4 changed files with 168 additions and 4 deletions

View File

@@ -1,9 +1,18 @@
#include <dt-bindings/zmk/matrix_transform.h>
#include "tester_pro_micro-layouts.dtsi"
&physical_layout0 {
transform = <&transform0>;
};
&physical_layout1 {
transform = <&transform0>;
};
/ {
chosen {
zmk,kscan = &kscan0;
zmk,matrix-transform = &transform0;
zmk,physical-layout = &physical_layout0;
};
kscan0: kscan {
@@ -41,4 +50,4 @@
RC(0,0) RC(0,1) RC(0,2) RC(0,3) RC(0,4) RC(0,5) RC(0,6) RC(0,7) RC(0,8) RC(0,9) RC(0,10) RC(0,11) RC(0,12) RC(0,13) RC(0,14) RC(0,15) RC(0,16) RC(0,17)
>;
};
};
};