aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/dts/bindings/kscan/zmk,kscan-sideband-behaviors.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'app/dts/bindings/kscan/zmk,kscan-sideband-behaviors.yaml')
-rw-r--r--app/dts/bindings/kscan/zmk,kscan-sideband-behaviors.yaml29
1 files changed, 29 insertions, 0 deletions
diff --git a/app/dts/bindings/kscan/zmk,kscan-sideband-behaviors.yaml b/app/dts/bindings/kscan/zmk,kscan-sideband-behaviors.yaml
new file mode 100644
index 0000000000..7289b9e169
--- /dev/null
+++ b/app/dts/bindings/kscan/zmk,kscan-sideband-behaviors.yaml
@@ -0,0 +1,29 @@
+# Copyright (c) 2023, The ZMK Contributors
+# SPDX-License-Identifier: MIT
+
+description: |
+ kscan sideband behavior runner. Only basic system behavior should be used,
+ since no keymap processing occurs when using them.
+
+compatible: "zmk,kscan-sideband-behaviors"
+
+include: [kscan.yaml]
+
+properties:
+ kscan:
+ type: phandle
+ required: true
+
+child-binding:
+ description: "A sideband behavior tied to a row/column pair"
+
+ properties:
+ row:
+ type: int
+ required: true
+ column:
+ type: int
+ required: true
+ bindings:
+ type: phandle-array
+ required: true