I am using mcufriend display library with Arduino Due and 3.95" (link below) and have manged to run graphics however now I am trying configure resistive touch and SD card on the display and am a bit lost. The display module I am using as following pins for touch and SD card :
Display Pin -> Arduino Due Pin number
TP_IRQ (touch interrupt) -> D44
SD_CS -> D48
MISO -> D50
EX_CLK (SPI Bus clock signal) -> D52
TP_CS -> D53
Looking at all mcuFriend examples for touchscreen (Touch_shield_new.ino etc), it seems that they are all written for 4 analog inputs (Xp, Xm, Yp, Ym) however in my case I need touch driver for SPI based controller. Has anyone managed to resolve this issue and has successfully tested touch controller + SD card for this (or similar) display?
BTW, I downloaded LCDwiki library from LCDwiki and the touch_pen example seems to be what I need however I'm not sure if something like this is available in mcuFriend ?