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:
parent
5f6a13413b
commit
147f7f23dc
2 changed files with 5 additions and 7 deletions
|
@ -12,9 +12,7 @@
|
|||
compatible = "zmk,keymap";
|
||||
|
||||
default_layer {
|
||||
bindings = <
|
||||
&sys_reset
|
||||
>;
|
||||
bindings = <&sys_reset>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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 = <>;
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue