I didn't understand your question correctly, but the only command in the TFT_eSPI library to determine the screen is in User_Setup > #define ILI9341_DRIVER. And in the sketch, it's in the functions 'tft.setCursor', 'ft.fillRect', 'tft.println'. I don't know if you understand my initial question!