B
beaker
Hello,
I'm writing a program (which will be running in the background 99% of
the time) and I want to be able to work out how long it has been since
the user last used the mouse and/or keyboard. I plan on using a Timer
to do the checking periodically, but I'm not sure how to get the time of
the last mouse click or keystroke.
Any suggestions? I've seen examples on keyboard loggers but they seem
to focus on capturing all keystrokes, and I'm only interested in their time.
Thanks in advance,
Gary
I'm writing a program (which will be running in the background 99% of
the time) and I want to be able to work out how long it has been since
the user last used the mouse and/or keyboard. I plan on using a Timer
to do the checking periodically, but I'm not sure how to get the time of
the last mouse click or keystroke.
Any suggestions? I've seen examples on keyboard loggers but they seem
to focus on capturing all keystrokes, and I'm only interested in their time.
Thanks in advance,
Gary