Working time tracking addon

Hi,
I don’t know if it’s even possible but I would like to create an addon to track the time used working with blender.

If there is a way to know if blender gets input(keyboard,mouse, or other devices) then the script should log the name of the file, the user and the date/time. This should be repeated each 5 minutes.
The real problem is how to know if there has been “input” in the last 5 minutes.
Is there a “input” signal/event that I could catch with python?

Thanks

check out this addon:

http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/System/Project_Timer

Oh my! That’s almost exactly what I wanted to do, thanks :wink: