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

Julien Danjou julien at danjou.info
Thu May 24 07:29:01 PDT 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/xcb/attachments/20120524/2cc42496/attachment.pgp>


More information about the Xcb mailing list