"Flaper87" <[EMAIL PROTECTED]> wrote > Does anyone knows an equivalence of pyhook for linux?
Nope. > I need to catch the events of the mose (even the simple movement, or > when it > focus an icon on Desktop), and the events of the keyboard. I think you need to look at the basic X windows event model. In particular look at how Window Managers like twm/fvwm are written. Or the ubiquitous xeyes applet. It tracks the mouse all over the screen so must catch the mouse events before forwarding them to the applications. These are written in C but should give you a clue as to which events to catch and which windows/event queues to monitor or API calls to make. HTH, -- Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
