Update sofle_left.overlay

This commit is contained in:
Yaroslav Kondratev 2024-08-28 11:54:25 +03:00 committed by GitHub
parent 0463d21363
commit 6c8297d258
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,17 +25,15 @@
/{ /{
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>;
row = <0>;
bindings = <&hw_soft_off>;
}; };
soft_off_wakers {
compatible = "zmk,soft-off-wakeup-sources";
wakeup-sources = <&wakeup_source>;
}; };
}; };