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.
This commit is contained in:
Pete Johanson
2020-05-24 18:22:16 -04:00
parent 9d5de4e922
commit ed5532bf94
12 changed files with 228 additions and 12 deletions

View File

@@ -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