zmk/app/dts/bindings/zmk,kscan-mock.yaml
Joel Spadin 179bdbc41a refactor(behaviors): Make label property optional
Changed all code (except for layer names) which used the label property
to use DEVICE_DT_NAME() instead, which uses the label if set or falls
back to the full node name. This matches how Zephyr determines the node
names used with device_get_binding() and allows us to start removing the
deprecated label property from things.
2023-12-04 20:06:54 -06:00

22 lines
397 B
YAML

description: |
Allows defining a mock keyboard scan driver that simulates periodic events.
compatible: "zmk,kscan-mock"
properties:
label:
type: string
required: false
deprecated: true
event-period:
type: int
description: Milliseconds between each generated event
events:
type: array
rows:
type: int
columns:
type: int
exit-after:
type: boolean