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?


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?