summaryrefslogtreecommitdiff
path: root/app/dts/bindings/zmk,kscan-mock.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'app/dts/bindings/zmk,kscan-mock.yaml')
-rw-r--r--app/dts/bindings/zmk,kscan-mock.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/dts/bindings/zmk,kscan-mock.yaml b/app/dts/bindings/zmk,kscan-mock.yaml
new file mode 100644
index 0000000..41dd5b8
--- /dev/null
+++ b/app/dts/bindings/zmk,kscan-mock.yaml
@@ -0,0 +1,17 @@
+description: |
+ Allows defining a mock keyboard scan driver that simulates periodic events.
+
+compatible: "zmk,kscan-mock"
+
+properties:
+ label:
+ type: string
+ event-period:
+ type: int
+ description: Milliseconds between each generated event
+ events:
+ type: array
+ rows:
+ type: int
+ columns:
+ type: int