zmk/app/dts/behaviors/reset.dtsi
HeavyDutySoul 63d3058465 Renew repo
2023-10-06 17:27:41 +03:00

30 lines
575 B
Text

/*
* Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
#include <dt-bindings/zmk/reset.h>
/ {
behaviors {
reset: behavior_reset {
compatible = "zmk,behavior-reset";
label = "RESET";
#binding-cells = <0>;
};
bootloader: behavior_reset_dfu {
compatible = "zmk,behavior-reset";
label = "BOOTLOAD";
type = <RST_UF2>;
#binding-cells = <0>;
};
suspend: behavior_reset_suspend {
compatible = "zmk,behavior-reset";
label = "SUSPEND";
type = <RST_SUSPEND>;
#binding-cells = <0>;
};
};
};