zmk/app/boards/native_posix_64.overlay
Peter Johanson a386359e48 refactor: Default kscan events for native posix
* By default, don't generate any events for the native
  posix board DTS, to allow native builds outside
  of the testing use case.
2023-09-06 23:00:31 -07:00

19 lines
337 B
Text

#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/kscan_mock.h>
/ {
chosen {
zmk,kscan = &kscan;
};
kscan: kscan {
compatible = "zmk,kscan-mock";
label = "KSCAN_MOCK";
rows = <2>;
columns = <2>;
exit-after;
events = <>;
};
};