zmk/app/dts/bindings/behaviors/zmk,behavior-soft-off.yaml
Peter Johanson 7e7110d85f 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.
2024-03-27 20:59:26 -07:00

18 lines
482 B
YAML

# Copyright (c) 2023 The ZMK Contributors
# SPDX-License-Identifier: MIT
description: Soft-Off Behavior
compatible: "zmk,behavior-soft-off"
include: zero_param.yaml
properties:
hold-time-ms:
type: int
required: false
description: Number of milliseconds the behavior must be held before releasing will actually trigger a soft-off.
split-peripheral-off-on-press:
type: boolean
description: When built for a split peripheral, turn off on press, not release