On Wed, 2002-05-29 at 15:11, Bharathi S wrote:
> On 26 May 2002, Henrik Sandklef wrote:
>
> > You can use XTest extension to do this ....
> > You can look at xnee for an example on how to use XTest
> > http://xnee.sourceforge.net
>
> How to download the source code from this site ? :(
Follow the link Download ... just to be called Release
(http://xnee.sourceforge.net/xnee_download.html)
> It is possible to generate the Fake Event inside
> the Xlib Function ?
You can fake an event using Xlibs XSendEvent. However some applications
recognise that the event was sent using that function (a bit is set).
And you need the win id.
> XSendEvent(dpy, winID, propagate, event_mask, event )
>
> If i didn't give the window id ( Bcoz i don't know )
>
> Pl give some example :)
XTestFakeKeyEvent (your_display, your_keycode, True, some_time);
XTestFakeKeyEvent (your_display, your_keycode, False, some_time);
> If there is any separeate list is there for Xlib :)
Hmm I am not sure I follow you. Can you please ask the question again?
>
> > On Fri, 2002-05-24 at 17:50, Bharathi S wrote:
>
> > > Whenever an keypress event occure i want to
> > > generate one more keypress event.
> > >
> > > The 2nd keypress should go with frist event
> > > keycode. And the 1st event should go with
> > > my own keycode.
>
> TIA,
> --
> --==| Bharathi S | BSB-364 DONLab | IIT-Madras |==--
> Like sent in bud secrets conceal
> In the bosom of her half smile.
> *In Tirukkural of Holy Tamil poet Tiruvalluvar.
>
>
>
>
--
Henrik Sandklef http://www.sandklef.com/hesa/
----------------------------------------------------
Email [EMAIL PROTECTED]
Software http://www.sandklef.com/software/
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert