I have wrote a c++ client keyboard event based on a XSendEvent I send you
the source


Henrik Sandklef wrote:

> HI!
>
> Still if you want to send an event, you can use either of the following:
>         XSendEvent (make sure that your application allows these events)
>         XTest extension (*)
>         Xnee (record a short session and replay it later) (**)
> ...... there are more ways to do it. Anyhow I think it will be easier to
> add an command line option to the application(s).
>
> Best regards, Henrik
>
> *) see Xnee for example usage
> **) http://xnee.sourceforge.net/
>
> On Wed, 2002-10-09 at 16:25, Chris BeHanna wrote:
> > On Mon, 26 Aug 2002, Beetle wrote:
> >
> > > could anyone help me out with some example code on how to
> > > create a keypress event without actually using the keyboard?
> > > i want to be able to go to fullscreen in ogle
> > > (and other programs like it that won't start out in fullscreen mode)
> > > thanks in advance.
> >
> >     I would think it would be simpler (and far more generally useful)
> > to patch the code to add a -fullscreen option on the command line.
> >
> > --
> > Chris BeHanna                      http://www.pennasoft.com
> > Principal Consultant
> > PennaSoft Corporation
> > [EMAIL PROTECTED]
> >
> > _______________________________________________
> > Xpert mailing list
> > [EMAIL PROTECTED]
> > http://XFree86.Org/mailman/listinfo/xpert
> --
> Henrik Sandklef <[EMAIL PROTECTED]>
> private
>
> _______________________________________________
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert

Attachment: kmxwindowclient.cpp
Description: application/unknown-content-type-cppfile

Attachment: kmxwindowclient.h
Description: application/unknown-content-type-hfile

Reply via email to