-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts_read does not work for multitouch-only device without EV_KEY #104
Comments
Thanks for reporting. I'll have a look during the upcoming days... |
Has it worked before? Which version of tslib works, which doesn't? |
I don't think ts_read has ever worked in the past -- this touchscreen only started working at all with b8594cc, which was only a few commits ago. Previously there was a check for EV_KEY (which seems to have been around for at least 9 years) that prevented both ts_read and ts_read_mt from working. TSLib didn't even believe the device was a touchscreen. |
Here is the |
Thanks for the data. Up until now this has been intended behaviour. While ts_read_mt() is the far better choice, also from the filters' point of view, I'll think about whether supporting ts_read() is worth it. In the end we'd have to rethink differentiating between MT and singletouch devices at all. That said I'm happy to help supporting ts_read_mt() in your application too. |
It might be worth testing ts_read() (or directfb, whatever) with this device using the current git code here again. |
Thanks, building a package now for users to test this on MT-only devices |
Thanks for the quick response, @merge! 9f2345a partially fixes the issue (so that Here's a run of ts_test where I repeatedly tapped the screen:
None of the events show pressure=0 in the third column. |
thanks for the update, I thought so. I pushed another fix on top of it now. Please note that, although I think it should work and closed the issue in this commit, I didn't test, so please re-open it, if it doesn't yet work for you! thanks for testing!! |
Thank you so much! I'll get this out to folks to test ASAP. We REALLY appreciate your hard work and willingness to help :) |
Confirming that it works! Touches are now detected by DirectFB. Thanks so much for your help! |
my pleasure. thanks for testing so quickly. |
Hi,
Thanks to b8594cc, my touchscreen (a Melfas MMSxx on a Galaxy Nexus) now works with tslib despite not emitting the singletouch API's EV_KEY event (as detailed in #102). Now,
ts_test_mt
works, as do programs using thets_read_mt
API. However,ts_test
and programs usingts_read
(like DirectFB) do not, though from #103 it seems that bothts_read
andts_read_mt
should work for multitouch devices.Perhaps the problem is that the touchscreen only implements the Linux multitouch API, and none of the single-touch one? Here's an
evtest
snippet from a single touch:Here's the
evtest
info, copied from #102:The text was updated successfully, but these errors were encountered: