| Summary: | Touchscreen with (Py)Qt5 should use tslib instead of evdev | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Tibor Stolz <tistolz> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | 2018.02.9 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | PyQt5 test application | ||
|
Description
Tibor Stolz
2019-02-05 15:45:58 UTC
Hello, I found <http://doc.qt.io/qt-5/embedded-linux.html#touch>, which mentions some more settings to be done by means of environment variables: ~> QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS='inverty' ./qt5test.py This works for me, I get proper touchscreen input. (Hardware: BeagleBoneBlack with 4D Systems gen4-4DCAPE-43T LCD) There are two options to enable tslib: ~> QT_QPA_FB_TSLIB=1 ./qt5test.py This seems to completely disable touchscreen input. ~> QT_QPA_EGLFS_TSLIB=1 ./qt5test.py This seems to have no effect, i.e. touchscreen input works but is still y-wise inverted. Since there is no need for tslib in my configuration, as y-wise inversion can be done without it, I declare this bug as RESOLVED WORKSFORME. Best regards, Tibor Stolz |