Qt5 Raspbian eGalax Failing touchscreen interaction
-
-
Solved: When the app is launched you can pass -plugin evdevtouch:/dev/input/event[insert event number of your touchscreen here]
If you need to find which event is the touchscreen just cd into /dev/input and type "ls" to display all the events.
Than type "cat event[insert number]" for each one and touch the touchscreen, when you see illegible text being displayed, you've found the touchscreen.
-
Do you get a message in the Qt terminal about using evdevtouch with your touchscreen right after you launch the app?
[quote author="migsada" date="1358780864"]I`ve followed instructions but qt app ignore touchscreen events.
Could be a calibration problem?[/quote]
-
Reading the evdevtouch plugin readme, it looks like single touch devices that only pass the absolute value of x and y are not supported.
The readme says to try tslib or evdevmouse instead.
Try passing the same paramters but replace evdevtouch with tslib and evdevmouse instead.
Here is the readme if you want to check it out.
-
Hi
I am working on touch based Qt appliction in raspberry pi.
after running my Qt app touch screen cannot respond. It shows error on qt app terminal like "evdevtouch: Could not read from input device (No such device) "
i will try the plugin s
-plugin evdevmouse:dev/input/event1
-plugin tslib:dev/input/event1 cannt work for mebut when i used the -plugin evdevtouch:dev/input/event1 it shows
evdevtouch: Invalid ABS limits behaviour unspecifiedplease give me any suggestions
-
Is it working outside of Qt, that is can you use it in Raspbian or whatever OS you're using?
Looking through the Qt source code the warning you're getting is caused when the touchscreen doesn't respond correctly to a system call asking for the minimum and maximum of the x y values.
If that is the case then I'm not really sure what you can do about it.
There was, however, a fairly recent patch to this system call in the source code. Are you running the latest version of Qt5?
-
I also found another person using your touchscreen who got it to work with tslib instead of evdevtouch.
-
PING
I uses actually an eGalax 7" Touchscreen. Touch input inside of the QT Application is done by TSLIB, but an interaction with the desktop in the background is still there ... why ??? is there a way to fix this ?Regards
Sebastian