You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
/*
|
|
|
|
* Copyright (c) 2020 The ZMK Contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <dt-bindings/zmk/reset.h>
|
|
|
|
|
|
|
|
/ {
|
|
|
|
behaviors {
|
|
|
|
/omit-if-no-ref/ reset: behavior_reset {
|
|
|
|
compatible = "zmk,behavior-reset";
|
|
|
|
label = "RESET";
|
|
|
|
#binding-cells = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/omit-if-no-ref/ bootloader: behavior_reset_dfu {
|
|
|
|
compatible = "zmk,behavior-reset";
|
|
|
|
label = "BOOTLOAD";
|
|
|
|
type = <RST_UF2>;
|
|
|
|
#binding-cells = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|