1# Copyright (c) 2018-2019 Jan Van Winkel <jan.van_winkel@dxplore.eu>
2# Copyright (c) 2020 Teslabs Engineering S.L.
3# SPDX-License-Identifier: Apache-2.0
4
5menu "Input device settings"
6
7config LV_Z_POINTER_INPUT
8	bool "Input lvgl pointer"
9	default y
10	depends on INPUT
11	depends on DT_HAS_ZEPHYR_LVGL_POINTER_INPUT_ENABLED
12
13config LV_Z_POINTER_INPUT_MSGQ_COUNT
14	int "Input pointer queue message count"
15	default 10
16	depends on LV_Z_POINTER_INPUT
17	help
18	  Size of the pointer message queue buffering input events.
19
20config LV_Z_BUTTON_INPUT
21	bool "Input lvgl button"
22	default y
23	depends on INPUT
24	depends on DT_HAS_ZEPHYR_LVGL_BUTTON_INPUT_ENABLED
25
26config LV_Z_BUTTON_INPUT_MSGQ_COUNT
27	int "Input button queue message count"
28	default 4
29	depends on LV_Z_BUTTON_INPUT
30	help
31	  Size of the button message queue buffering input events.
32
33config LV_Z_ENCODER_INPUT
34	bool "Input lvgl encoder"
35	default y
36	depends on INPUT
37	depends on DT_HAS_ZEPHYR_LVGL_ENCODER_INPUT_ENABLED
38
39config LV_Z_ENCODER_INPUT_MSGQ_COUNT
40	int "Input encoder queue message count"
41	default 4
42	depends on LV_Z_ENCODER_INPUT
43	help
44	  Size of the encoder message queue buffering input events.
45
46config LV_Z_KEYPAD_INPUT
47	bool "Input lvgl keypad"
48	default y
49	depends on INPUT
50	depends on DT_HAS_ZEPHYR_LVGL_KEYPAD_INPUT_ENABLED
51
52config LV_Z_KEYPAD_INPUT_MSGQ_COUNT
53	int "Input keypad queue message count"
54	default 4
55	depends on LV_Z_KEYPAD_INPUT
56	help
57	  Size of the keypad message queue buffering input events.
58
59endmenu
60