forked from kofal.net/zmk
refactor: new physical layouts convention
This commit is contained in:
committed by
Pete Johanson
parent
a173be9d71
commit
99b8506437
@@ -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>;
|
||||
};
|
||||
Reference in New Issue
Block a user