mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
* include kscan.yaml so we can set kscan-composite as a wakeup source * modify enable and disable callback to check for wakeup capabilities of composite and children * disable children wakeup source The disable function is only called when the composite is not an enabled wakeup source. In that case the children should also not be an enabled wakeup source, so they can get suspended
39 lines
629 B
YAML
39 lines
629 B
YAML
description: |
|
|
Allows composing multiple KSCAN devices into one virtual device
|
|
|
|
compatible: "zmk,kscan-composite"
|
|
|
|
include: kscan.yaml
|
|
|
|
properties:
|
|
label:
|
|
type: string
|
|
required: false
|
|
deprecated: true
|
|
rows:
|
|
type: int
|
|
columns:
|
|
type: int
|
|
|
|
child-binding:
|
|
description: "Details of an included KSCAN devices"
|
|
|
|
properties:
|
|
label:
|
|
type: string
|
|
required: false
|
|
deprecated: true
|
|
kscan:
|
|
type: phandle
|
|
row-offset:
|
|
type: int
|
|
default: 0
|
|
col-offset:
|
|
type: int
|
|
default: 0
|
|
|
|
column-offset:
|
|
type: int
|
|
default: 0
|
|
deprecated: true
|