Skip to content

How to use tslib(touch screen library) in pyqt5? #68

@sanluku

Description

@sanluku

I want to run my pyqt5 application under Ubuntu14 system.
but the touch points is incorrect, i try to calibrate the screen.
I run ts_calibrate to finish touch screen calibrate, it can generate calibrate file normally.
When i run my application, the touch points is still incorrect.
It's seem tslib not working with Pyqt5.
My export like this:
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_CALIBFILE=/etc/pointercal
export QT_QPA_PLATFORM_PLUGIN_PATH=/usr/lib/plugins
export QT_QPA_PLATFORM=linuxfb:fb=/dev/fb0
export QT_QPA_GENERIC_PLUGINS=tslib:/dev/input/event0
export QWS_MOUSE_PROTO=tslib
export QT_QPA_EGLFS_TSLIB=1
export QT_QPA_FB_TSLIB=1

Did i do anything wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions