Help toggling a relay via a TFT screen

sorted, ran the touch calibration, with the screen orientation set to "2", and copied the results over. why didnt i try that before!

  tft.setRotation(2);           //PORTRAIT

//const int XP = 8, XM = A2, YP = A3, YM = 9; //320x480 ID=0x9486              //old results
//const int TS_LEFT = 129, TS_RT = 887, TS_TOP = 949, TS_BOT = 97;           //old results
const int XP=8,XM=A2,YP=A3,YM=9; //320x480 ID=0x9486
const int TS_LEFT=882,TS_RT=138,TS_TOP=94,TS_BOT=942;