2020-11-11 13:10:29 -08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
2020-08-20 21:33:48 -07:00
|
|
|
#include <dt-bindings/zmk/reset.h>
|
|
|
|
|
2020-06-19 12:32:33 -07:00
|
|
|
/ {
|
|
|
|
behaviors {
|
2022-01-01 20:57:37 -08:00
|
|
|
reset: behavior_reset {
|
2020-06-19 12:32:33 -07:00
|
|
|
compatible = "zmk,behavior-reset";
|
|
|
|
label = "RESET";
|
|
|
|
#binding-cells = <0>;
|
|
|
|
};
|
2020-08-20 21:33:48 -07:00
|
|
|
|
2022-01-01 20:57:37 -08:00
|
|
|
bootloader: behavior_reset_dfu {
|
2020-08-20 21:33:48 -07:00
|
|
|
compatible = "zmk,behavior-reset";
|
2020-12-20 06:49:42 -08:00
|
|
|
label = "BOOTLOAD";
|
2020-08-20 21:33:48 -07:00
|
|
|
type = <RST_UF2>;
|
|
|
|
#binding-cells = <0>;
|
|
|
|
};
|
2020-06-19 12:32:33 -07:00
|
|
|
};
|
|
|
|
};
|