evdevtouch: How to restrict Qt5 only accept ts_uinput's input event?
I'm testing ts_uinput (tslib's program) in linux.
The ts_uinput create a simulated input event in path "/dev/input". (For example: /dev/input/ts_uinput).
Moreover, the real touch device also has a input event in path "/dev/input". (For example: /dev/input/event0).
The Qt's evdevtouch handler accept the two input event in the same time, but this cause a strange behavior.
For example, I draw a vertical line by touch but the line isn't very straight.
The reason is evdevtouch handler receive the two input event in the same time, so this cause the line isn't very straight.
Is it possible to let evdevtouch handler only accept simulated input event (/dev/input/ts_uinput)?
Hi and welcome to devnet,
Did you saw the recommendation here to select the input device to use ?
Hope it helps