forked from kofal.net/zmk
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:
17
dts/bindings/zmk,kscan-mock.yaml
Normal file
17
dts/bindings/zmk,kscan-mock.yaml
Normal 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
|
||||
Reference in New Issue
Block a user