diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-07-22 02:13:52 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-07-22 02:13:52 -0400 |
commit | adfa1b5443e0a7ccaa973d69aac59ffbf8607d2f (patch) | |
tree | f4edee9ff161a2d1e5da58037b075ed1b8675328 /app/dts | |
parent | 5896c3032b4d8c7ed4962672b75360a54c5b0e1c (diff) |
Initial work on sensor bindings.
Diffstat (limited to 'app/dts')
-rw-r--r-- | app/dts/bindings/zmk,keymap-sensors.yaml | 9 | ||||
-rw-r--r-- | app/dts/bindings/zmk,layers.yaml | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/app/dts/bindings/zmk,keymap-sensors.yaml b/app/dts/bindings/zmk,keymap-sensors.yaml new file mode 100644 index 0000000..c56361d --- /dev/null +++ b/app/dts/bindings/zmk,keymap-sensors.yaml @@ -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 diff --git a/app/dts/bindings/zmk,layers.yaml b/app/dts/bindings/zmk,layers.yaml index 34cbb95..1a3592e 100644 --- a/app/dts/bindings/zmk,layers.yaml +++ b/app/dts/bindings/zmk,layers.yaml @@ -13,3 +13,6 @@ child-binding: bindings: type: phandle-array required: true + sensor-bindings: + type: phandle-array + required: false |