zephyr/dts/bindings/input/zephyr,native-linux-evdev.yaml

24 lines
519 B
YAML
Raw Normal View History

# 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