diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-05-24 18:22:16 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-05-24 18:22:16 -0400 |
commit | ed5532bf94e93d25e35498cfd7a9040b0c69597b (patch) | |
tree | 9ed29552fb54e94ecc2062f0db3b6321d24b7c4a /dts/bindings | |
parent | 9d5de4e9229ad363a54bbcab0a6a60b07d5f19f5 (diff) |
Add a mock kscan driver, working native_posix.
* Unified logging to one module.
* Mock kscan driver that simulates events.
* Working native_posix board target for testing.
Diffstat (limited to 'dts/bindings')
-rw-r--r-- | dts/bindings/zmk,kscan-mock.yaml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dts/bindings/zmk,kscan-mock.yaml b/dts/bindings/zmk,kscan-mock.yaml new file mode 100644 index 0000000..41dd5b8 --- /dev/null +++ b/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 |