Update docs/docs/features/dongle.mdx

Co-authored-by: Maximilian Engl <43675074+englmaxi@users.noreply.github.com>
This commit is contained in:
Rasmus Koit 2024-08-18 15:49:55 +03:00 committed by GitHub
parent 83e624148d
commit 344936eb02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -150,13 +150,19 @@ Your keyboard's matrix transform must be both defined and selected under the `ch
// import the default shield configuration // import the default shield configuration
#include "my_keyboard.dtsi" #include "my_keyboard.dtsi"
&kscan { / {
compatible = "zmk,kscan-mock"; chosen {
zmk,kscan = &mock_kscan;
};
columns = <0>; mock_kscan: kscan_1 {
rows = <0>; compatible = "zmk,kscan-mock";
events = <0>;
} columns = <0>;
rows = <0>;
events = <0>;
};
};
``` ```