I created a new touchscreen library for Particle devices. It’s a simpler version than the ported adafruit library. Doesn’t measure pressure at this time, although it would be easy to add.
The library scans the touchscreen for touches and reports only when a touch is occuring. No need to look at pressure or measure the resistance across the x plate. This means that update() takes very little time if no touches are present. Uses multi-sampling on scans to debounce the touch location.
Can map the output of the touches to an LCD screen. So if you have a 128x64 lcd screen, the X and Y location output will be mapped to it. This is definable in the header file so any size lcd screen can be used. The GitHub version is set up to map a nintendo DS touchscreen to an ST7565 128x64 LCD
Inspired by @ScruffR’s ported library and the original adafruit library.