Capacitive Touch Screen (GT911) for SKR SE BX (#21843)
Co-authored-by: Msq001 <alansayyeah@gmail.com> Co-authored-by: Scott Lahteine <github@thinkyhead.com>
This commit is contained in:
committed by
Scott Lahteine
parent
f3e199fcd2
commit
ac11c689f7
@ -24,8 +24,15 @@
|
||||
#include "touch_buttons.h"
|
||||
#include "../scaled_tft.h"
|
||||
|
||||
#include HAL_PATH(../../HAL, tft/xpt2046.h)
|
||||
XPT2046 touchIO;
|
||||
#if ENABLED(TFT_TOUCH_DEVICE_GT911)
|
||||
#include HAL_PATH(../../HAL, tft/gt911.h)
|
||||
GT911 touchIO;
|
||||
#elif ENABLED(TFT_TOUCH_DEVICE_XPT2046)
|
||||
#include HAL_PATH(../../HAL, tft/xpt2046.h)
|
||||
XPT2046 touchIO;
|
||||
#else
|
||||
#error "Unknown Touch Screen Type."
|
||||
#endif
|
||||
|
||||
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
|
||||
#include "../tft_io/touch_calibration.h"
|
||||
|
Reference in New Issue
Block a user