feat(behaviors): Add soft off behavior.
* New soft-off behavior that can be used to force the device into soft-off state with only certain configured wakeup devices.
This commit is contained in:
parent
738c3c0e3b
commit
b19df0cbf0
5 changed files with 92 additions and 2 deletions
|
|
@ -22,6 +22,12 @@ config ZMK_BEHAVIOR_MOUSE_KEY_PRESS
|
|||
depends on DT_HAS_ZMK_BEHAVIOR_MOUSE_KEY_PRESS_ENABLED
|
||||
imply ZMK_MOUSE
|
||||
|
||||
config ZMK_BEHAVIOR_SOFT_OFF
|
||||
bool
|
||||
default y
|
||||
select ZMK_PM_SOFT_OFF
|
||||
depends on DT_HAS_ZMK_BEHAVIOR_SOFT_OFF_ENABLED
|
||||
|
||||
config ZMK_BEHAVIOR_SENSOR_ROTATE_COMMON
|
||||
bool
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue