* Add dedicated init priority for the sideband kscan. * Refactor sideband code for clarity. * Tweaks to direct kscan for clarity. * Make sideband behavior row optional for brevity. * Allow overriding ZMK Uno sideband behaviors.
30 lines
682 B
YAML
30 lines
682 B
YAML
# Copyright (c) 2023, The ZMK Contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
description: |
|
|
kscan sideband behavior runner. Only basic system behaviors should be used,
|
|
since no keymap processing occurs when using them. Primarily, that means avoiding
|
|
using tap-holds, sticky keys, etc. as sideband behaviors.
|
|
|
|
compatible: "zmk,kscan-sideband-behaviors"
|
|
|
|
include: kscan.yaml
|
|
|
|
properties:
|
|
kscan:
|
|
type: phandle
|
|
required: true
|
|
|
|
child-binding:
|
|
description: "A sideband behavior tied to a row/column pair"
|
|
|
|
properties:
|
|
row:
|
|
type: int
|
|
default: 0
|
|
column:
|
|
type: int
|
|
required: true
|
|
bindings:
|
|
type: phandle-array
|
|
required: true
|