Initial work on sensor bindings.

This commit is contained in:
Pete Johanson
2020-07-22 02:13:52 -04:00
parent 5896c3032b
commit adfa1b5443
11 changed files with 203 additions and 3 deletions

View 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

View File

@@ -13,3 +13,6 @@ child-binding:
bindings:
type: phandle-array
required: true
sensor-bindings:
type: phandle-array
required: false