Le 29/04/2015 09:35, Tobias Boege a écrit : > On Wed, 29 Apr 2015, Nigel Verity wrote: >> Hi >> >> I'm planning to write an application in Gambas to support a study of the >> efficiency of various user interface designs. To do that I will need to >> monitor mouse clicks in conjunction with the mouse position, and keyboard >> inputs. This is, of course, simple within a Gambas application but what >> about when another application has focus? >> >> Is there any way to have a Gambas application running minimised but >> monitoring the keyboard buffer and mouse events regardless of which >> application has focus? >> > > I don't think there is something built-in for this. You can look at how > keyloggers monitor the keyboard. Maybe something similar exists for the > mouse. Needless to say that your application will have to run with root > privileges. > > Regards, > Tobi >
Not with X11, where any application can catch all events on its display! But this will change with Wayland... -- Benoît Minisini ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user