Article 508CS How can I detect touchscreen as Mouse?

How can I detect touchscreen as Mouse?

by
emmaperea
from LinuxQuestions.org on (#508CS)
Hi,
This is my first thread here.
I am working with an embedded-linux device. Linux kernel version is 4.6 and It was built with Yocto 2.4.
I am building a Qt app that runs in the device.
I have a problem when the app is running in a certain time when I press touchscreen the app freezes. I have read a lot of forums and documentation and I am almost sure that the problem is in xlib driver that locks the display.
The linux os has xorg, evded to detect input diveces.
One of my ideas is to detect touchscreen input as mouse input to not get this lock display.
There is a way to configure evdev or x11 to do this?latest?d=yIl2AUoC8zA latest?i=iXk0unJXPuM:-CVWkBFWsGQ:F7zBnMy latest?i=iXk0unJXPuM:-CVWkBFWsGQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=iXk0unJXPuM:-CVWkBFWsGQ:gIN9vFwiXk0unJXPuM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments