Required for uint16_t, Serial, millis() etc. when compiling outside the .ino (Arduino IDE auto-includes Arduino.h for .ino files but not for standalone .cpp files).
XPT2046 path: no change — uses TFT_eSPI built-in getTouch(). GT911 path: TouchDriver namespace with begin()/read() stub. TouchDriverGT911.cpp compiles to nothing on TFT_eSPI targets. Uncomment TAMC_GT911 lines to enable real capacitive touch.