summaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
Diffstat (limited to 'dts')
-rw-r--r--dts/bindings/zmk,kscan-composite.yaml27
1 files changed, 27 insertions, 0 deletions
diff --git a/dts/bindings/zmk,kscan-composite.yaml b/dts/bindings/zmk,kscan-composite.yaml
new file mode 100644
index 0000000..6126c30
--- /dev/null
+++ b/dts/bindings/zmk,kscan-composite.yaml
@@ -0,0 +1,27 @@
+description: |
+ Allows composing multiple KSCAN devices into one virtual device
+
+compatible: "zmk,kscan-composite"
+
+properties:
+ label:
+ type: string
+ rows:
+ type: int
+ columns:
+ type: int
+
+child-binding:
+ description: "Details of an included KSCAN devices"
+
+ properties:
+ label:
+ type: string
+ kscan:
+ type: phandle
+ row-offset:
+ type: int
+ default: 0
+ column-offset:
+ type: int
+ default: 0