forked from kofal.net/zmk
fix(bt): Fix BT tests after soft off work.
* Move to explicit enable of `ZMK_PM_SOFT_OFF` to turn on the feature and use the behaviors, which matches how other features work, and helps with split and testing schemes.
This commit is contained in:
committed by
Pete Johanson
parent
0d4d4fb2b5
commit
e78249ee06
@@ -25,8 +25,7 @@ config ZMK_BEHAVIOR_MOUSE_KEY_PRESS
|
||||
config ZMK_BEHAVIOR_SOFT_OFF
|
||||
bool
|
||||
default y
|
||||
select ZMK_PM_SOFT_OFF
|
||||
depends on DT_HAS_ZMK_BEHAVIOR_SOFT_OFF_ENABLED
|
||||
depends on DT_HAS_ZMK_BEHAVIOR_SOFT_OFF_ENABLED && ZMK_PM_SOFT_OFF
|
||||
|
||||
config ZMK_BEHAVIOR_SENSOR_ROTATE_COMMON
|
||||
bool
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
CONFIG_ZMK_PM_SOFT_OFF=y
|
||||
@@ -6,8 +6,9 @@
|
||||
|
||||
/ {
|
||||
behaviors {
|
||||
soft_off: soft_off {
|
||||
/omit-if-no-ref/ soft_off: soft_off {
|
||||
compatible = "zmk,behavior-soft-off";
|
||||
label = "SOFTOFF";
|
||||
#binding-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user