in reply to Perl ScreenSaver

When I read Perl && mouse && keyboard events I seem to recall having seen a module named Win32::Console with those specs. It is distributed with Activestate's Perl v633.

No I have not tried it myself, but it seems to be well documented so why don't you check it out.