mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-25 07:27:16 +00:00
Add a separate LVGL example that reports touchscreen state, presses, and coordinates without changing lvgldemo. Signed-off-by: aviralgarg05 <gargaviral99@gmail.com>
36 lines
800 B
Text
36 lines
800 B
Text
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
config EXAMPLES_LVGLTOUCH
|
|
tristate "LVGL touchscreen diagnostic"
|
|
default n
|
|
depends on GRAPHICS_LVGL && INPUT_TOUCHSCREEN
|
|
---help---
|
|
Show the touchscreen state and coordinates on the display.
|
|
|
|
if EXAMPLES_LVGLTOUCH
|
|
|
|
config EXAMPLES_LVGLTOUCH_PROGNAME
|
|
string "Program name"
|
|
default "lvgltouch"
|
|
|
|
config EXAMPLES_LVGLTOUCH_PRIORITY
|
|
int "Task priority"
|
|
default 100
|
|
|
|
config EXAMPLES_LVGLTOUCH_STACKSIZE
|
|
int "Stack size"
|
|
default 8192
|
|
|
|
config EXAMPLES_LVGLTOUCH_INPUT_DEVPATH
|
|
string "Touchscreen device path"
|
|
default "/dev/input0"
|
|
|
|
config EXAMPLES_LVGLTOUCH_FB_DEVPATH
|
|
string "Framebuffer device path"
|
|
default "/dev/fb0"
|
|
depends on !LV_USE_NUTTX_LCD
|
|
|
|
endif
|