Qt5 and eGalax touchscreen
-
Hi,
I'm running Qt5 on a Raspberry pi (by cross compiling) with an eGalax touchscreen, but I'm having problems getting it to work in Qt.
If I do a 'startx' and run the Raspian GUI the touch works great but when running it in Qt it does not react at all.When starting the Qt app it says:
evdevtouch: Using device /dev/input/event1
min X: 0 max X: 0
min Y: 0 max Y: 0
min pressure: 0 max pressure: 0
device name: eGalax Inc. Touch
Protocol type AThe touchscreen is at /dev/input/event1 but what about the other parameters?
"max X: 0" and "max Y: 0" does not seem correct?If I start the app with "evdevmouse" I get it to work somewhat but it seems that its calibrated wrong.
-
I have a same issue running Raspbian wheezy. Touchpad works fine in "startx" environment. But when I run qt app it seems to be calibrated wrong.
I run app with:
@./myApp -plugin evdevtouch:/dev/input/event2@
I get following output:
@
evdevtouch: Using device /dev/input/event2
min X: 0 max X: 0
min Y: 0 max Y: 0
min pressure: 0 max pressure: 0
device name: eGalax Inc. USB TouchController
Protocol type A
@