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_KSCAN
8	bool "Keyboard scan pointer input"
9	depends on KSCAN
10	help
11	  Enable keyboard scan pointer input
12
13if LV_Z_POINTER_KSCAN
14
15config LV_Z_POINTER_KSCAN_MSGQ_COUNT
16	int "Keyboard scan message queue count maximum"
17	default 10
18	help
19	  Maximum number of items in the keyboard scan message queue.
20
21config LV_Z_POINTER_KSCAN_SWAP_XY
22	bool "Swap keyboard scan X,Y axes"
23	help
24	  Swap keyboard scan X,Y axes. This option can be used to align keyboard
25	  scan coordinates with the display.
26
27config LV_Z_POINTER_KSCAN_INVERT_X
28	bool "Invert keyboard scan X axis"
29	help
30	  Invert keyboard scan X axis. This option can be used to align keyboard
31	  scan coordinates with the display.
32
33config LV_Z_POINTER_KSCAN_INVERT_Y
34	bool "Invert keyboard scan Y axis"
35	help
36	  Invert keyboard scan Y axis. This option can be used to align keyboard
37	  scan coordinates with the display.
38
39endif # LV_Z_POINTER_KSCAN
40
41endmenu
42