How to count idle time

G

Guest

Is there a nice way to determine how long a keyboard/mouse has been idle? I
was thinking the time could be recorded whenever a keydown or mousemove event
fired and then have a timer fire periodically and compare Now to the recorded
time. This though seems very cheesy and possibly inefficient.

any thoughts?

Thanks,
Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top