mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
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:
committed by
Pete Johanson
parent
5f6a13413b
commit
147f7f23dc
@@ -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 = <>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user