zmk/app/boards/native_posix_64.overlay
2024-03-16 19:38:22 +08:00

28 lines
563 B
Text

#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/kscan_mock.h>
/ {
chosen {
zephyr,console = &uart0;
zmk,kscan = &kscan;
};
kscan: kscan {
compatible = "zmk,kscan-mock";
rows = <2>;
columns = <2>;
exit-after;
events = <>;
};
uart0: uart {
status = "okay";
compatible = "zephyr,native-posix-uart";
/* Dummy current-speed entry to comply with serial
* DTS binding
*/
current-speed = <0>;
};
};