kbr-net / sdrive-max

Arduino based Atari 8-bit Floppy Emulator with Touchscreen
http://www.kbrnet.de/projekte/sdrive-max/index.html
GNU General Public License v3.0
92 stars 23 forks source link

XPT2046 touchscreen support #26

Closed TzOk83 closed 4 years ago

TzOk83 commented 4 years ago

There are quite popular ILI9341+XPT2046 TFT touchscreens available. Would you consider adding support for this touch controller chip?

bweiser commented 4 years ago

The ILI9341 has support for it already.

TzOk83 commented 4 years ago

I realize too late that you only support ILI9341 over a parallel link, and not over SPI. XPT2046 is an SPI touch (digitizer) screen controller, commonly used in SPI TFT screens based on ILI9341 chips. Your code supports only direct (analog) signals from digitizer screen, but in case it doesn't support SPI mode for graphics, there is probably no point to support SPI touch sensor.

kbr-net commented 4 years ago

Yes, this would be too difficult, and would be like a completely rewrite of the firmware.