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"
|
||||
|
||||
/{
|
||||
chosen {
|
||||
zmk,kscan = &side_band_behavior_triggers;
|
||||
};
|
||||
};
|
||||
&kscan0 {
|
||||
col-gpios
|
||||
= <&pro_micro 19 GPIO_ACTIVE_HIGH>
|
||||
|
@ -21,17 +25,15 @@
|
|||
|
||||
|
||||
/{
|
||||
wakeup_source: wakeup_source {
|
||||
compatible = "zmk,gpio-key-wakeup-trigger";
|
||||
|
||||
trigger = <&wakeup_key>;
|
||||
side_band_behavior_triggers: side_band_behavior_triggers {
|
||||
compatible = "zmk,kscan-sideband-behaviors";
|
||||
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>;
|
||||
};
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue