24 lines
438 B
YAML
24 lines
438 B
YAML
|
# Copyright 2023 Google LLC
|
||
|
# SPDX-License-Identifier: Apache-2.0
|
||
|
|
||
|
description: |
|
||
|
Input to kscan adapter.
|
||
|
|
||
|
Allows using an input device with the kscan API. Define as a child node of
|
||
|
the input device, for example
|
||
|
|
||
|
chosen {
|
||
|
zephyr,keyboard-scan = &kscan_input;
|
||
|
};
|
||
|
|
||
|
ft5336@38 {
|
||
|
...
|
||
|
kscan_input: kscan-input {
|
||
|
compatible = "zephyr,kscan-input";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
compatible: "zephyr,kscan-input"
|
||
|
|
||
|
include: kscan.yaml
|