in reply to Reading root-level (unfocused) mouse and keyboard input
The only way (that I'm aware of), of intercepting global events (keyboard mouse ect.) is to install a System level Hook using SetWindowsHookEx.
Whilst theoretically possible to do this from Perl, it is distinctly non-trivial as hook procedures need to be callback routines located in a .dll. You really need to drop to C or assembler for this.
|
|---|