Update sofle_left.overlay
This commit is contained in:
parent
0463d21363
commit
6c8297d258
1 changed files with 14 additions and 12 deletions
|
@ -5,7 +5,11 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "sofle.dtsi"
|
#include "sofle.dtsi"
|
||||||
|
/{
|
||||||
|
chosen {
|
||||||
|
zmk,kscan = &side_band_behavior_triggers;
|
||||||
|
};
|
||||||
|
};
|
||||||
&kscan0 {
|
&kscan0 {
|
||||||
col-gpios
|
col-gpios
|
||||||
= <&pro_micro 19 GPIO_ACTIVE_HIGH>
|
= <&pro_micro 19 GPIO_ACTIVE_HIGH>
|
||||||
|
@ -21,18 +25,16 @@
|
||||||
|
|
||||||
|
|
||||||
/{
|
/{
|
||||||
wakeup_source: wakeup_source {
|
side_band_behavior_triggers: side_band_behavior_triggers {
|
||||||
compatible = "zmk,gpio-key-wakeup-trigger";
|
compatible = "zmk,kscan-sideband-behaviors";
|
||||||
|
|
||||||
trigger = <&wakeup_key>;
|
|
||||||
wakeup-source;
|
wakeup-source;
|
||||||
extra-gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
|
kscan = <&kscan0>;
|
||||||
};
|
soft_off {
|
||||||
|
column = <0>;
|
||||||
soft_off_wakers {
|
row = <0>;
|
||||||
compatible = "zmk,soft-off-wakeup-sources";
|
bindings = <&hw_soft_off>;
|
||||||
wakeup-sources = <&wakeup_source>;
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue