summaryrefslogtreecommitdiff
path: root/app/dts/bindings
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-08-06 23:28:34 -0400
committerPete Johanson <peter@peterjohanson.com>2020-08-06 23:28:34 -0400
commit04606317292bcfb62e6884291495cb76fa656f47 (patch)
treedf484efee24f4ef32a2bf2eb11a4aac47a459fda /app/dts/bindings
parentfd3ce4ba1cbd521b60020395696611cfa5810ab0 (diff)
Refactor to simpler keymaps.
Diffstat (limited to 'app/dts/bindings')
-rw-r--r--app/dts/bindings/zmk,keymap.yaml22
-rw-r--r--app/dts/bindings/zmk,layers.yaml18
2 files changed, 10 insertions, 30 deletions
diff --git a/app/dts/bindings/zmk,keymap.yaml b/app/dts/bindings/zmk,keymap.yaml
index b9517a3..fb6d914 100644
--- a/app/dts/bindings/zmk,keymap.yaml
+++ b/app/dts/bindings/zmk,keymap.yaml
@@ -3,15 +3,13 @@ description: |
compatible: "zmk,keymap"
-properties:
- transform:
- type: phandle
- required: false
-
- label:
- type: string
- required: true
-
- layers:
- type: phandles
- required: true
+child-binding:
+ description: "A layer to be used in a keymap"
+
+ properties:
+ bindings:
+ type: phandle-array
+ required: true
+ sensor-bindings:
+ type: phandle-array
+ required: false
diff --git a/app/dts/bindings/zmk,layers.yaml b/app/dts/bindings/zmk,layers.yaml
deleted file mode 100644
index 1a3592e..0000000
--- a/app/dts/bindings/zmk,layers.yaml
+++ /dev/null
@@ -1,18 +0,0 @@
-description: |
- Allows defining the various keymap layers for use.
-
-compatible: "zmk,layers"
-
-child-binding:
- description: "A layer to be used in a keymap"
-
- properties:
- label:
- type: string
- required: true
- bindings:
- type: phandle-array
- required: true
- sensor-bindings:
- type: phandle-array
- required: false