Initial composite kscan driver.
* For now, to be used for FrankenKyria, where both matrix halves will be attached to the same MCU, but should be a stepping stone to proper split support once we have a kscan driver over a split transport. * Implement multiple instances for mock kscan driver.
This commit is contained in:
parent
abd106032d
commit
9a09eb14af
9 changed files with 291 additions and 82 deletions
27
dts/bindings/zmk,kscan-composite.yaml
Normal file
27
dts/bindings/zmk,kscan-composite.yaml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
description: |
|
||||
Allows composing multiple KSCAN devices into one virtual device
|
||||
|
||||
compatible: "zmk,kscan-composite"
|
||||
|
||||
properties:
|
||||
label:
|
||||
type: string
|
||||
rows:
|
||||
type: int
|
||||
columns:
|
||||
type: int
|
||||
|
||||
child-binding:
|
||||
description: "Details of an included KSCAN devices"
|
||||
|
||||
properties:
|
||||
label:
|
||||
type: string
|
||||
kscan:
|
||||
type: phandle
|
||||
row-offset:
|
||||
type: int
|
||||
default: 0
|
||||
column-offset:
|
||||
type: int
|
||||
default: 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue