2020-06-22 12:05:11 +10:00
|
|
|
#include <behaviors.dtsi>
|
2020-08-29 06:21:31 +10:00
|
|
|
#include <dt-bindings/zmk/keys.h>
|
|
|
|
#include <dt-bindings/zmk/kscan-mock.h>
|
2020-05-25 08:22:16 +10:00
|
|
|
|
|
|
|
/ {
|
|
|
|
chosen {
|
2020-08-29 06:21:31 +10:00
|
|
|
zmk,kscan = &kscan;
|
2020-05-27 14:48:03 +10:00
|
|
|
};
|
|
|
|
|
2020-08-29 06:21:31 +10:00
|
|
|
kscan: kscan {
|
2020-05-25 08:22:16 +10:00
|
|
|
compatible = "zmk,kscan-mock";
|
2020-08-29 06:21:31 +10:00
|
|
|
label = "KSCAN_MOCK";
|
2020-05-25 08:22:16 +10:00
|
|
|
|
|
|
|
rows = <2>;
|
|
|
|
columns = <2>;
|
2020-08-29 06:21:31 +10:00
|
|
|
exit-after;
|
2020-05-25 08:22:16 +10:00
|
|
|
};
|
|
|
|
};
|