XTestFakeKeyEvent and direction arrows
giuspen at gmail.com
Tue May 29 09:57:15 PDT 2012
I'm sorry I didn't understand that you tested the direction arrows in your
code too, I modified just a little
your main (modified code pasted below) and it works like a charm, now I'll
work out where the problem is in my
Many many thanks,
sendKey(disp, XK_Right, 0);
sendKey(disp, XK_Left, 0);
sendKey(disp, XK_Down, 0);
sendKey(disp, XK_Up, 0);
printf("what's wrong with me!\n");
On Tue, May 29, 2012 at 6:25 PM, Onur Küçük <onur at delipenguen.net> wrote:
> On Tue, 29 May 2012 00:19:10 +0200
> Giuseppe Penone <giuspen at gmail.com> wrote:
> > Hi and thanks for your example code.
> > Using your function "sendKey" unfortunately all keysyms work but the
> > direction arrows,
> > result that I already obtained.
> > The direction arrows still produce the effect:
> > - up and down cause no visible effect
> > - right and left cause right+down and left+up.
> Have you tried compiling and running that code by itself ? It is
> working here for arrow keys (up, down..) so depending on if it works by
> itself could give a hint where the problem might be.
> Onur Küçük Knowledge speaks,
> <onur.--.-.delipenguen.net> but wisdom listens
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.x.org/mailman/listinfo/xorg
> Your subscription address: giuspen at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xorg