Update docs/docs/features/dongle.mdx
Co-authored-by: Maximilian Engl <43675074+englmaxi@users.noreply.github.com>
This commit is contained in:
parent
83e624148d
commit
344936eb02
1 changed files with 12 additions and 6 deletions
|
@ -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 {
|
/ {
|
||||||
|
chosen {
|
||||||
|
zmk,kscan = &mock_kscan;
|
||||||
|
};
|
||||||
|
|
||||||
|
mock_kscan: kscan_1 {
|
||||||
compatible = "zmk,kscan-mock";
|
compatible = "zmk,kscan-mock";
|
||||||
|
|
||||||
columns = <0>;
|
columns = <0>;
|
||||||
rows = <0>;
|
rows = <0>;
|
||||||
events = <0>;
|
events = <0>;
|
||||||
}
|
};
|
||||||
|
};
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue