* Add new flag to differentiate soft off on peripherals that is invoked by split GATT svc and dedicated additional ones tied to GPIO pin.
15 lines
307 B
Text
15 lines
307 B
Text
/*
|
|
* Copyright (c) 2023 The ZMK Contributors
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
/ {
|
|
behaviors {
|
|
/omit-if-no-ref/ soft_off: keymap_soft_off {
|
|
compatible = "zmk,behavior-soft-off";
|
|
#binding-cells = <0>;
|
|
split-peripheral-off-on-press;
|
|
};
|
|
};
|
|
};
|