Using touch on 2.8 inch ILI9341 LCD with ESP32

Go on. You should connect (Slave) SDO and (Slave) T_DO to (Master) MISO
And SDI, T_DIN to (Master) MOSI

MOSI means Master-Out, Slave-In
MISO means Master-In, Slave-Out

Your User_Setup.h "looks" ok. Especially if all the examples display correct colours, directions, ...