Initial work on sensor bindings.
This commit is contained in:
parent
5896c3032b
commit
adfa1b5443
11 changed files with 203 additions and 3 deletions
9
app/dts/bindings/zmk,keymap-sensors.yaml
Normal file
9
app/dts/bindings/zmk,keymap-sensors.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
description: |
|
||||
Allows defining the collection of sensors bound in the keymap layers
|
||||
|
||||
compatible: "zmk,keymap-sensors"
|
||||
|
||||
properties:
|
||||
sensors:
|
||||
type: phandles
|
||||
required: true
|
||||
|
|
@ -13,3 +13,6 @@ child-binding:
|
|||
bindings:
|
||||
type: phandle-array
|
||||
required: true
|
||||
sensor-bindings:
|
||||
type: phandle-array
|
||||
required: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue