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 {
|
|
|
|
reset: behavior_reset {
|
|
|
|
compatible = "zmk,behavior-reset";
|
|
|
|
label = "RESET";
|
|
|
|
#binding-cells = <0>;
|
|
|
|
};
|
2020-08-21 14:33:48 +10:00
|
|
|
|
|
|
|
bootloader: behavior_reset_dfu {
|
|
|
|
compatible = "zmk,behavior-reset";
|
|
|
|
label = "BOOTLOADER_RESET";
|
|
|
|
type = <RST_UF2>;
|
|
|
|
#binding-cells = <0>;
|
|
|
|
};
|
2020-06-20 05:32:33 +10:00
|
|
|
};
|
|
|
|
};
|