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 /hesa On Fri, 2002-05-24 at 17:50, Bharathi S wrote: > Hello all, > 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. > > It is possible to generate the fake event inside > XkbLookupkeyshm() -*- XKBBind.c -*- Xlib function. > Bcoz QT getting the event from this function only. > > TIA Bye, > -- > --==| Bharathi S | BSB-364 DONLab | IIT-Madras |==-- > The virtue-killer may be saved > Not benefit-killer wo is damned. > *In Tirukkural of Holy Tamil poet Tiruvalluvar. > > _______________________________________________ > Xpert mailing list > [EMAIL PROTECTED] > http://XFree86.Org/mailman/listinfo/xpert > > -- 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