Replacing Adafruit's Touchscreen Library with A Different One
backXslash opened this issue · 1 comments
backXslash commented
I'd like to use your library for my project, but the TouchScreen library seems to be pretty deeply embedded, and I need to use Adafruit's FT6206 touchscreen library instead.
How would I go about that?
ginge commented
a quick skim of the code that only gui.cpp is using the touchscreen driver. It has init and in
https://github.com/ginge/GuiLibrary/blob/master/Gui.cpp#L81
it gets the point. The above has ts pointer. You should be able to replicate this using your new library reasonably easily