1# Copyright 2023 Google LLC
2# SPDX-License-Identifier: Apache-2.0
3
4config NATIVE_LINUX_EVDEV
5	bool "Native Linux evdev based input device"
6	default y
7	depends on DT_HAS_ZEPHYR_NATIVE_LINUX_EVDEV_ENABLED
8	depends on ARCH_POSIX
9	depends on MULTITHREADING
10	help
11	  Enable reading input from a Linux evdev device, requires specifying
12	  an evdev device path in the --evdev command line argument.
13
14if NATIVE_LINUX_EVDEV
15
16config NATIVE_LINUX_EVDEV_THREAD_PRIORITY
17	int "Priority for the Linux evdev thread"
18	default 0
19	help
20	  Priority level of the internal thread handling Linux input events.
21
22config NATIVE_LINUX_THREAD_SLEEP_MS
23	int "Sleep period for the Linux evdev thread"
24	default 10
25	help
26	  How long to sleep between checking for new events in the Linux input
27	  events thread.
28
29endif
30