zephyr/dts/bindings/input/zephyr,native-linux-evdev.yaml
Fabio Baltieri f9313b1745 input: add a linux-evdev device
Add a device driver to read events from a Linux evdev device node and
inject them back as Zephyr input events.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-12-18 12:23:59 +01:00

24 lines
519 B
YAML

# Copyright 2023 Google LLC
# SPDX-License-Identifier: Apache-2.0
description: |
Linux evdev based input device
Allows using a Linux evdev device to read input events and report them back
as Zephyr input events.
Example configuration:
evdev {
compatible = "zephyr,native-linux-evdev";
};
Then run the binary specifying the evdev device with the --evdev flag, for
example:
./build/zephyr/zephyr.exe --evdev=/dev/input/event0
compatible: "zephyr,native-linux-evdev"
include: base.yaml