forked from kofal.net/zmk
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:
9
app/dts/bindings/zmk,keymap-transform.yaml
Normal file
9
app/dts/bindings/zmk,keymap-transform.yaml
Normal 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
|
||||
@@ -4,6 +4,10 @@ description: |
|
||||
compatible: "zmk,keymap"
|
||||
|
||||
properties:
|
||||
transform:
|
||||
type: phandle
|
||||
required: false
|
||||
|
||||
label:
|
||||
type: string
|
||||
required: true
|
||||
|
||||
Reference in New Issue
Block a user