1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
#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; }; };