summaryrefslogtreecommitdiff
path: root/app/dts
diff options
context:
space:
mode:
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