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";
default_layer {
bindings = <
&sys_reset
>;
bindings = <&sys_reset>;
};
};
};

View file

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