examples/lcd: Add touch support into i80 lcd example.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user