Qt5 Tslib plugin hardcodes the tslib input to be available at /dev/input/event1. A minor patch is required to get correct operation with tslib in Qt5. This is needed for AM335x EVM, and possibly other customer platforms.
For correct TSLIB operation on the EVM, apply the patch below for building the tslib plugin - And ensure TSLIB_TSDEVICE is exported on target to point to the correct tslib device (ie, export TSLIB_TSDEVICE=/dev/input/event2). Without this patch, Qt5 tslib plugin will use only /dev/input/event1, and if this the touchscreen is not mounted at this point, tslib based access will not work for eglfs. To use the tslib plugin, add "-plugin Tslib" to the application invocation command line.
https://github.com/prabindh/qt-configs/blob/master/qt5_1.0_Feb13/tslib.p...
Note: ts_calibrate needs to be performed as usual.
For correct TSLIB operation on the EVM, apply the patch below for building the tslib plugin - And ensure TSLIB_TSDEVICE is exported on target to point to the correct tslib device (ie, export TSLIB_TSDEVICE=/dev/input/event2). Without this patch, Qt5 tslib plugin will use only /dev/input/event1, and if this the touchscreen is not mounted at this point, tslib based access will not work for eglfs. To use the tslib plugin, add "-plugin Tslib" to the application invocation command line.
https://github.com/prabindh/qt-configs/blob/master/qt5_1.0_Feb13/tslib.p...
Note: ts_calibrate needs to be performed as usual.
No comments:
Post a Comment