Start to get layers + keymaps pulled in from DTS.

This commit is contained in:
Pete Johanson
2020-05-03 15:49:33 -04:00
parent 7b4394b3e7
commit fe961d54a3
9 changed files with 113 additions and 13 deletions

View File

@@ -0,0 +1,13 @@
description: |
Allows defining a keymap composed of multiple layers
compatible: "zmk,keymap"
properties:
label:
type: string
required: true
layers:
type: phandles
required: true

View File

@@ -0,0 +1,14 @@
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
keys:
type: array