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";
|
compatible = "zmk,keymap";
|
||||||
|
|
||||||
default_layer {
|
default_layer {
|
||||||
bindings = <
|
bindings = <&sys_reset>;
|
||||||
&sys_reset
|
|
||||||
>;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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)>
|
|
||||||
;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue