dev: init zmk files
This commit is contained in:
parent
5c17fd0e3f
commit
f344124981
12 changed files with 214 additions and 0 deletions
23
boards/shields/phiboard/phiboard-layouts.dtsi
Normal file
23
boards/shields/phiboard/phiboard-layouts.dtsi
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// See https://zmk.dev/docs/development/hardware-integration/physical-layouts
|
||||
// for how to configure this.
|
||||
|
||||
#include <physical_layouts.dtsi>
|
||||
|
||||
/ {
|
||||
default_layout: default_layout {
|
||||
compatible = "zmk,physical-layout";
|
||||
display-name = "Default Layout";
|
||||
transform = <&default_transform>;
|
||||
kscan = <&kscan>;
|
||||
|
||||
// Edit this to define the positions and sizes of the keys, or remove it
|
||||
// if your keyboard will not support ZMK Studio.
|
||||
// https://zmk.dev/docs/development/hardware-integration/physical-layouts#optional-keys-property
|
||||
keys // w h x y rot rx ry
|
||||
= <&key_physical_attrs 100 100 0 0 0 0 0>
|
||||
, <&key_physical_attrs 100 100 100 0 0 0 0>
|
||||
, <&key_physical_attrs 100 100 0 100 0 0 0>
|
||||
, <&key_physical_attrs 100 100 100 100 0 0 0>
|
||||
;
|
||||
};
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue