* Add new flag to differentiate soft off on peripherals that is invoked by split GATT svc and dedicated additional ones tied to GPIO pin.
17 lines
482 B
YAML
17 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
|