summaryrefslogtreecommitdiff
path: root/app/dts/behaviors
diff options
context:
space:
mode:
Diffstat (limited to 'app/dts/behaviors')
-rw-r--r--app/dts/behaviors/bluetooth.dtsi9
-rw-r--r--app/dts/behaviors/ext_power.dtsi9
-rw-r--r--app/dts/behaviors/toggle_layer.dtsi6
3 files changed, 21 insertions, 3 deletions
diff --git a/app/dts/behaviors/bluetooth.dtsi b/app/dts/behaviors/bluetooth.dtsi
new file mode 100644
index 0000000..ea09f4a
--- /dev/null
+++ b/app/dts/behaviors/bluetooth.dtsi
@@ -0,0 +1,9 @@
+/ {
+ behaviors {
+ bt: behavior_bluetooth {
+ compatible = "zmk,behavior-bluetooth";
+ label = "BLUETOOTH";
+ #binding-cells = <2>;
+ };
+ };
+};
diff --git a/app/dts/behaviors/ext_power.dtsi b/app/dts/behaviors/ext_power.dtsi
new file mode 100644
index 0000000..92f0035
--- /dev/null
+++ b/app/dts/behaviors/ext_power.dtsi
@@ -0,0 +1,9 @@
+/ {
+ behaviors {
+ ext_power: behavior_ext_power {
+ compatible = "zmk,behavior-ext-power";
+ label = "EXT_POWER_BEHAVIOR";
+ #binding-cells = <1>;
+ };
+ };
+};
diff --git a/app/dts/behaviors/toggle_layer.dtsi b/app/dts/behaviors/toggle_layer.dtsi
index 86a050d..4045396 100644
--- a/app/dts/behaviors/toggle_layer.dtsi
+++ b/app/dts/behaviors/toggle_layer.dtsi
@@ -1,10 +1,10 @@
/*
- * Copyright (c) 2020 Cody McGinnis <brainwart@gmail.com>
+ * Copyright (c) 2020 The ZMK Contributors
*
* SPDX-License-Identifier: MIT
*/
-
- / {
+
+/ {
behaviors {
tog: behavior_toggle_layer {
compatible = "zmk,behavior-toggle-layer";