summaryrefslogtreecommitdiff
path: root/app/dts
diff options
context:
space:
mode:
Diffstat (limited to 'app/dts')
-rw-r--r--app/dts/behaviors.dtsi1
-rw-r--r--app/dts/behaviors/outputs.dtsi9
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-outputs.yaml10
3 files changed, 20 insertions, 0 deletions
diff --git a/app/dts/behaviors.dtsi b/app/dts/behaviors.dtsi
index 36c918c..a120b84 100644
--- a/app/dts/behaviors.dtsi
+++ b/app/dts/behaviors.dtsi
@@ -10,3 +10,4 @@
#include <behaviors/rgb_underglow.dtsi>
#include <behaviors/bluetooth.dtsi>
#include <behaviors/ext_power.dtsi>
+#include <behaviors/outputs.dtsi>
diff --git a/app/dts/behaviors/outputs.dtsi b/app/dts/behaviors/outputs.dtsi
new file mode 100644
index 0000000..a534cbf
--- /dev/null
+++ b/app/dts/behaviors/outputs.dtsi
@@ -0,0 +1,9 @@
+/ {
+ behaviors {
+ out: behavior_outputs {
+ compatible = "zmk,behavior-outputs";
+ label = "OUTPUTS";
+ #binding-cells = <1>;
+ };
+ };
+};
diff --git a/app/dts/bindings/behaviors/zmk,behavior-outputs.yaml b/app/dts/bindings/behaviors/zmk,behavior-outputs.yaml
new file mode 100644
index 0000000..8bcefd9
--- /dev/null
+++ b/app/dts/bindings/behaviors/zmk,behavior-outputs.yaml
@@ -0,0 +1,10 @@
+#
+# Copyright (c) 2020, The ZMK Contributors
+# SPDX-License-Identifier: MIT
+#
+
+description: Output Selection Behavior
+
+compatible: "zmk,behavior-outputs"
+
+include: one_param.yaml