Using XInput 2 to simulate touchevents

Daniel Stone daniel at fooishbar.org
Wed Feb 9 05:30:45 PST 2011


Hi,

On Wed, Feb 09, 2011 at 02:49:26PM +0200, mugunthan wrote:
> Thanks a lot for your information.
> 
> I downloaded the event tester. But it says you can check the output from
> the device .
> 
> But I want to generate some events which could be sent to the device.
> For example
> 
> I need to generate the touch event and see how the device responds. The
> touch event should be sent by XInput and not by mere touching the finger
> on the device.
> 
> Please let me know.

You can use evtest-create-device.xsl to create a uinput device which
simulates a real hardware touchscreen.  There are more details for that
on evtest-capture.txt.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110209/6953563e/attachment-0001.pgp>


More information about the xorg-devel mailing list