Finding whether the keyboard is used
Posted on 1998-09-10
I need to find whether a keyboard was used. I guess that what I should actually do is use a hook, to catch keyboard
messages. How do I do it?
What I'm actually trying to achieve is to decide whether the computer was used in the past 5 minutes. I thought I'd just look at the keyboard, and if it was pressed, than the computer was used (I also sense the mouse, but I know how to do this). Please help!