On Tue, Mar 09, 2004 at 11:43:31PM +0100, Pieter Grimmerink wrote: > Hi Claus, > > Some alternative that I thought of, which might be a solution for your > problem, is not to use a picogui input driver for your keyboard.
IIRC it's possible to do this using the canvas widget, but if not it's definitely possible using a client-side input filter. PicoGUI processes input events using a chain of filters, starting with the driver(s) and ending with widgets. There are several built-in filters, but new ones can be added client-side or server-side. There are a few client-server requests related to input filters. 'mkinfilter' lets a client add an input filter to the chain, specifying a handle for the new filter to be added after, which events to accept, and which events to absorb (others are automatically propagated to the next filter). 'infiltersend' lets you inject an event at any point in the filter chain- it's also used for client-side input drivers like x2pgui, or for onscreen keyboards. Several examples in the 'apps' directory use input filters. The best ones are in 'pgremote' including a few actual client-side input filters and some other fun toys like a remote control app. For more examples, grep the sources for pgInFilterSend or pgNewInFilter. --Micah -- Only you can prevent creeping featurism! ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
