summaryrefslogtreecommitdiff
path: root/app/dts
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-08-07 07:15:20 -0400
committerGitHub <noreply@github.com>2020-08-07 07:15:20 -0400
commit4b0284f45bfd2162d89c9a9522e2e771077518e7 (patch)
tree5532ae19d9f2fabc42dfc77cba30fd28c849e02a /app/dts
parentfd3ce4ba1cbd521b60020395696611cfa5810ab0 (diff)
parentd57c271804328460470d13218a309e92a9397d22 (diff)
Merge pull request #74 from petejohanson/core/keymaps-refactor-simplification
Refactor to simpler keymaps.
Diffstat (limited to 'app/dts')
-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