linux4sam / egt

Ensemble Graphics Toolkit - Modern C++ GUI Toolkit for AT91/SAMA5 Microprocessors
https://ensemble.graphics
Apache License 2.0
63 stars 25 forks source link

A single point resistive touch screen cannot use tslib #25

Closed zjdliu closed 9 months ago

zjdliu commented 1 year ago

A ts read mt error occurs when using tslib

image

ldesroches commented 10 months ago

Hi,

Sorry for the very long delay to handle this issue. I have attached few patches to fix the tslib support. It has been tested only with a Maxtouch device, not with a resistive touchscreen so I don't know if it covers all the cases. If you're still interested in solving this problem, give them a try and let me know if it works. I'll wait a bit before applying these fixes to the master branch.

Regards, Ludovic

0003-inputtslib-use-pressure-instead-of-pen_down.patch.txt 0002-inputtslib-read-samples-one-by-one.patch.txt 0001-inputtslib-restart-async_read-on-error.patch.txt