Regarding XI2 touch event simulation.
Peter Hutterer
peter.hutterer at who-t.net
Sun Jul 21 21:03:01 PDT 2013
On Fri, Jul 19, 2013 at 04:10:14PM +0530, Paltry pal wrote:
> I am looking for some sample that can simulate the touch events and forward
> to the Xserver,similar to xte that can send touch events also.Is there any
> application that can do this?
no, you need to go through uinput.
> Secondly,I dont have touch device available. so was looking to buy one.. is
> there any touchscreen device,or other touch device which has a native
> support for linux and that generates the XI2 touch events that can be
> connected to a desktop to get the touch functionality.. so that i can test
> the touch events on a real physical device also.
if the device is supported by the linux kernel and sends ABS_MT_* events,
it'll work in X (with the evdev driver). I'm using a lenovo x220t here, for
example but there are plenty of other devices out there.
Cheers,
Peter
More information about the xorg
mailing list