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:
parent
0712dadd29
commit
1751470785
12 changed files with 1028 additions and 0 deletions
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue