[Gambas-user] Buffer Monitoring

Benoît Minisini gambas at ...1...
Wed Apr 29 10:04:45 CEST 2015


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




More information about the User mailing list