fix(shields): Make settings_reset more flexible.

* Don't reference `pro_micro` nexus node in settings_reset
  so it can be used with other controllers.
* Use mock kscan node instead.
This commit is contained in:
Peter Johanson 2023-07-20 23:53:38 -07:00 committed by Pete Johanson
parent 5f6a13413b
commit 147f7f23dc
2 changed files with 5 additions and 7 deletions

View file

@ -12,9 +12,7 @@
compatible = "zmk,keymap"; compatible = "zmk,keymap";
default_layer { default_layer {
bindings = < bindings = <&sys_reset>;
&sys_reset
>;
}; };
}; };
}; };

View file

@ -12,12 +12,12 @@
}; };
kscan0: kscan { kscan0: kscan {
compatible = "zmk,kscan-gpio-direct"; compatible = "zmk,kscan-mock";
label = "KSCAN"; label = "KSCAN";
columns = <1>;
rows = <0>;
input-gpios events = <>;
= <&pro_micro 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
;
}; };
}; };