Touch controller support.
Greetings,
I was wondering about touch controller support, specifically for the XPT2046.
I see that there are some touch functions outlined in the bb_spi_lcd.h file, but they have no implementations at the moment.
I know that i could use a third party library for just the touch handling, but I am very tight on free pins, so I was hoping to have the touch controller share the same pins as the lcd (aside from the CS pin of course).
I have attempted to do something similar to how TFT_eSPI implements this, but so far I havent had any success. Could you guide me a bit on this issue? How would one go about implementing device switching and clock speed changing while using the DMA. Btw, I am using an esp32-cam.
Many thanks for this library and all your work with it and JPEGDEC.
I removed the touch support a while ago because I was trying to shrink the code to still fit on the ATmega328. I didn't add it back because it seemed like an unnecessary part of this library. I just went looking for it and couldn't find it. If you can do a PR to add it back, I'll accept it.