Initial work on keymap transforms for non-standard matrixes.

* Allows "gaps" for keyboards like Kyra.
* Allows keyboards with matrixes that don't map the logical key
  locations to have normal looking keymaps when defined.
This commit is contained in:
Pete Johanson
2020-06-15 17:03:34 -04:00
parent 0712dadd29
commit 1751470785
12 changed files with 1028 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
description: |
Defines a mapping from keymap logical positions to matrix physical positions
compatible: "zmk,keymap-transform"
properties:
map:
type: array
required: true

View File

@@ -4,6 +4,10 @@ description: |
compatible: "zmk,keymap"
properties:
transform:
type: phandle
required: false
label:
type: string
required: true