Added TSLIB on libSDL2


#1

Hi,
I added TSLIB support in SDL2 for an embedded project, I don’t know if it could be useful, but for your information I created a repo on GITHUB here :


It seems to work as expected with a resistive touch screen (ads7846) on a RaspberryPI with EGL context. (tested quickly yesterday)
I did nearly the same as SDL1.

Cheers.