refactor: new physical layouts convention
This commit is contained in:
parent
a173be9d71
commit
99b8506437
31 changed files with 443 additions and 475 deletions
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#include <dt-bindings/led/led.h>
|
||||
#include <dt-bindings/zmk/matrix_transform.h>
|
||||
#include "zmk_uno-layouts.dtsi"
|
||||
|
||||
|
||||
&arduino_i2c {
|
||||
status = "okay";
|
||||
|
|
@ -135,3 +137,13 @@ nice_view_spi: &arduino_spi {
|
|||
b-gpios = <&arduino_header 14 GPIO_PULL_UP>;
|
||||
};
|
||||
};
|
||||
|
||||
&matrix_physical_layout {
|
||||
kscan = <&kscan_matrix>;
|
||||
transform = <&matrix_transform>;
|
||||
};
|
||||
|
||||
&direct_physical_layout {
|
||||
kscan = <&kscan_direct>;
|
||||
transform = <&direct_matrix_transform>;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue