From 344936eb020ece37a0d8a3656a92a619a4e7e735 Mon Sep 17 00:00:00 2001 From: Rasmus Koit Date: Sun, 18 Aug 2024 15:49:55 +0300 Subject: [PATCH] Update docs/docs/features/dongle.mdx Co-authored-by: Maximilian Engl <43675074+englmaxi@users.noreply.github.com> --- docs/docs/features/dongle.mdx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/docs/features/dongle.mdx b/docs/docs/features/dongle.mdx index 79acb87c..0b64c8b7 100644 --- a/docs/docs/features/dongle.mdx +++ b/docs/docs/features/dongle.mdx @@ -150,13 +150,19 @@ Your keyboard's matrix transform must be both defined and selected under the `ch // import the default shield configuration #include "my_keyboard.dtsi" -&kscan { - compatible = "zmk,kscan-mock"; +/ { + chosen { + zmk,kscan = &mock_kscan; + }; - columns = <0>; - rows = <0>; - events = <0>; -} + mock_kscan: kscan_1 { + compatible = "zmk,kscan-mock"; + + columns = <0>; + rows = <0>; + events = <0>; + }; +}; ```