Update touch_driver.h

This commit is contained in:
fvanroie 2025-05-17 02:09:29 +02:00 committed by GitHub
parent 65624ed47d
commit 769408868e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,9 +63,6 @@ class BaseTouch {
#elif TOUCH_DRIVER == 0x6336 && defined(LGFX_USE_V1) && defined(HASP_USE_LGFX_TOUCH) #elif TOUCH_DRIVER == 0x6336 && defined(LGFX_USE_V1) && defined(HASP_USE_LGFX_TOUCH)
#warning Building for LovyanGFX FT6336 #warning Building for LovyanGFX FT6336
#include "touch_driver_lovyangfx.h" #include "touch_driver_lovyangfx.h"
#elif defined(LGFX_USE_V1) && defined(HASP_USE_LGFX_TOUCH)
#warning Building for LovyanGFX
#include "touch_driver_lovyangfx.h"
#elif TOUCH_DRIVER == 0x5206 #elif TOUCH_DRIVER == 0x5206
#warning Building for FT5206 #warning Building for FT5206
#include "touch_driver_ft5206.h" #include "touch_driver_ft5206.h"
@ -87,15 +84,18 @@ class BaseTouch {
#elif TOUCH_DRIVER == 0x2007 #elif TOUCH_DRIVER == 0x2007
#warning Building for TSC2007 #warning Building for TSC2007
#include "touch_driver_tsc2007.h" #include "touch_driver_tsc2007.h"
#elif defined(LGFX_USE_V1)
#warning Building for LovyanGfx Touch
#include "touch_driver_lovyangfx.h"
#elif TOUCH_DRIVER == 0x3240 #elif TOUCH_DRIVER == 0x3240
#warning Building for CST3240 #warning Building for CST3240
#include "touch_driver_cst3240.h" #include "touch_driver_cst3240.h"
#elif TOUCH_DRIVER == 0x816 #elif TOUCH_DRIVER == 0x816
#warning Building for CST816S #warning Building for CST816S
#include "touch_driver_cst816.h" #include "touch_driver_cst816.h"
#elif defined(LGFX_USE_V1) && defined(HASP_USE_LGFX_TOUCH)
#warning Building for LovyanGFX Touch
#include "touch_driver_lovyangfx.h"
#elif defined(LGFX_USE_V1)
#warning Building for LovyanGfx No Touch
#include "touch_driver_lovyangfx.h"
#else #else
#warning Building for Generic Touch #warning Building for Generic Touch
using dev::BaseTouch; using dev::BaseTouch;