examples/lcd: Add touch support into i80 lcd example.

This commit is contained in:
Vilem Zavodny
2022-06-08 12:33:03 +02:00
parent d7ab8fd4ba
commit 036705fe8f
6 changed files with 211 additions and 18 deletions
@@ -45,4 +45,27 @@ menu "Example Configuration"
default 16 if EXAMPLE_LCD_NT35510_DATA_WIDTH_16
default 8
config EXAMPLE_LCD_TOUCH_ENABLED
bool "Enable LCD touch"
default y
help
Enable this option if you wish to use display touch. You can select from three touch controllers.
choice EXAMPLE_LCD_TOUCH_CONTROLLER
prompt "LCD touch controller model"
depends on EXAMPLE_LCD_TOUCH_ENABLED
default EXAMPLE_LCD_TOUCH_CONTROLLER_FT5X06
help
Select LCD touch controller model
config EXAMPLE_LCD_TOUCH_CONTROLLER_GT911
bool "GT911"
config EXAMPLE_LCD_TOUCH_CONTROLLER_TT21100
bool "TT21100"
config EXAMPLE_LCD_TOUCH_CONTROLLER_FT5X06
bool "FT5X06"
endchoice
endmenu