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