Files
zmk/app/dts/bindings/zmk,kscan-composite.yaml
svek1 a8f5ab67b5 fix: allow kscan-composite to wake up device. (#2682)
* 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
2024-12-11 14:46:22 -05:00

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