[Xcb] Documentation or example code for xcb_test_fake_input()?

Jeremy Cook Jeremy.Cook at bbvisuals.no
Fri May 25 02:11:34 PDT 2012


Thank-you very much. This was exactly what I needed. All working now.


Jeremy

-----Original Message-----
From: Julien Danjou [mailto:julien at danjou.info] 
Sent: 24 May 2012 16:29
To: Jeremy Cook
Cc: xcb at lists.freedesktop.org
Subject: Re: [Xcb] Documentation or example code for xcb_test_fake_input()?

On Thu, May 24 2012, Jeremy Cook wrote:

> I am looking for some help using xcb_test_fake_input() to generate mouse and keyboard events/input.
> In particular some documentation for the parameter list, and possible values for "type".
> I have mouse motion working in my application but still need to get fake mouse click and keyboard events to work.
>
> Some example code would help, including the values to be used to specify mouse down/up and to specify which mouse button is pressed.

http://git.naquadah.org/?p=awesome.git;a=blob;f=root.c;h=c6f570411c8793059da8ff04a3f28d8472ebbf21;hb=HEAD#l66

I hope that helps.

-- 
           Julien


More information about the Xcb mailing list