HI!
I have written a program that catches keys (as specified in an rc file)
and maps them to programs. It grabs the keys ("gloabally") and loops
around for events.
I know this is not a solution to your problem, but maybe you can steel
some code from there!
http://www.sandklef.com/xikbd/
Best regards, Henrik
On Wed, 2002-04-10 at 19:49, Konrad Rieck wrote:
>
> Hi Xperts,
>
> I developed an XInput driver for an electronic whiteboard. The whiteboard
> also has 20 fields which are used as buttons if clicked with a pen. The
> original MS Windows drivers allows the user to put commands on each of these
> 20 buttons.
>
> I would like to write a small application to emulate this feature under
> XFree86. This application should catch XButtonEvents send from the XInput
> driver and execute the specified commands.
>
> Unfortunatly I wasn't able to catch XButtonEvents globally! My application
> should trap all XButtonEvents no matter wich window has the focus.
>
> I think you get the idea...
>
> Is there any solution, except using the record extension which is a little
> bit too much overhead. I have full control over the events I send from my
> XInput driver, so maybe there is something simple and small I can do.
>
> With best regards,
> Konrad Rieck
>
> --
> Konrad Rieck <[EMAIL PROTECTED]> -------------- http://www.inf.fu-berlin.de/~rieck
> # Roqefellaz, http://www.roqe.org - PGP Key, http://www.roqe.org/keys/kr.pub
> # ----------- Fingerprint 5803 E58E D1BF 9A29 AFCA 51B3 A725 EA18 ABA7 A6A3
> _______________________________________________
> 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