summaryrefslogtreecommitdiff
path: root/app/dts/bindings
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-06-20 00:11:39 -0400
committerPete Johanson <peter@peterjohanson.com>2020-06-20 00:11:39 -0400
commitd65629b9a0b79b6e294419fe9a4118fb09491c91 (patch)
tree802d42849d670d418071a6da381ea8d13712e172 /app/dts/bindings
parentc23d752917774bc740c791e2f7eeef6f8f9e1033 (diff)
Lots more pieces toward HID working again.
Diffstat (limited to 'app/dts/bindings')
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-hid.yaml8
-rw-r--r--app/dts/bindings/behaviors/zmk,behavior-keymap.yaml8
-rw-r--r--app/dts/bindings/zmk,global-bindings.yaml9
3 files changed, 25 insertions, 0 deletions
diff --git a/app/dts/bindings/behaviors/zmk,behavior-hid.yaml b/app/dts/bindings/behaviors/zmk,behavior-hid.yaml
new file mode 100644
index 0000000..f3e0603
--- /dev/null
+++ b/app/dts/bindings/behaviors/zmk,behavior-hid.yaml
@@ -0,0 +1,8 @@
+# Copyright (c) 2020, Pete Johanson
+# SPDX-License-Identifier: MIT
+
+description: HID Report Behavior
+
+compatible: "zmk,behavior-hid"
+
+include: zero_param.yaml
diff --git a/app/dts/bindings/behaviors/zmk,behavior-keymap.yaml b/app/dts/bindings/behaviors/zmk,behavior-keymap.yaml
new file mode 100644
index 0000000..1d8a51f
--- /dev/null
+++ b/app/dts/bindings/behaviors/zmk,behavior-keymap.yaml
@@ -0,0 +1,8 @@
+# Copyright (c) 2020, Pete Johanson
+# SPDX-License-Identifier: MIT
+
+description: Keymap Behavior
+
+compatible: "zmk,behavior-keymap"
+
+include: zero_param.yaml
diff --git a/app/dts/bindings/zmk,global-bindings.yaml b/app/dts/bindings/zmk,global-bindings.yaml
new file mode 100644
index 0000000..69e79cd
--- /dev/null
+++ b/app/dts/bindings/zmk,global-bindings.yaml
@@ -0,0 +1,9 @@
+description: |
+ Specify the the global behaviors bound to state changes
+
+compatible: "zmk,global-bindings"
+
+properties:
+ bindings:
+ type: phandles
+ required: true