forked from kofal.net/zmk
fix(pm): Fixes for dedicated on/off on peripherals.
* Add new flag to differentiate soft off on peripherals that is invoked by split GATT svc and dedicated additional ones tied to GPIO pin.
This commit is contained in:
committed by
Pete Johanson
parent
41d81801ed
commit
7e7110d85f
@@ -35,10 +35,9 @@ encoder: &qdec0 {
|
||||
|
||||
/ {
|
||||
behaviors {
|
||||
soft_off: soft_off {
|
||||
hw_soft_off: hw_soft_off {
|
||||
compatible = "zmk,behavior-soft-off";
|
||||
#binding-cells = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -54,7 +53,7 @@ encoder: &qdec0 {
|
||||
soft_off {
|
||||
row = <0>;
|
||||
column = <0>;
|
||||
bindings = <&soft_off>;
|
||||
bindings = <&hw_soft_off>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user