Refactor to simpler keymaps.

This commit is contained in:
Pete Johanson
2020-08-06 23:28:34 -04:00
parent fd3ce4ba1c
commit 0460631729
7 changed files with 76 additions and 167 deletions

View File

@@ -3,15 +3,13 @@ description: |
compatible: "zmk,keymap"
properties:
transform:
type: phandle
required: false
child-binding:
description: "A layer to be used in a keymap"
label:
type: string
required: true
layers:
type: phandles
required: true
properties:
bindings:
type: phandle-array
required: true
sensor-bindings:
type: phandle-array
required: false

View File

@@ -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