forked from kofal.net/zmk
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:
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
|
||||
Reference in New Issue
Block a user