I\'m looking for ways to watch mouse and keyboard events on Windows, Linux and Mac from Python.
My application is a time tracker. I\'m not looking into the event, I
There's a great article on Writing Linux Kernel Keyloggers
http://www.phrack.com/issues.html?issue=59&id=14#article
If you are attempting to run a honeypot, then definitely give Sebek a try:
https://projects.honeynet.org/sebek/
Sebek is a data capture tool designed to capture attacker's activities on a honeypot, without the attacker (hopefully) knowing it. It has two components. The first is a client that runs on the honeypots, its purpose is to capture all of the attackers activities (keystrokes, file uploads, passwords) then covertly send the data to the server. The second component is the server which collects the data from the honeypots. The server normally runs on the Honeywall gateway, but can also run independently. For more information on Sebek, please see http://www.honeynet.org/tools/sebek
But, if you'd rather follow the script kiddie route / not learn, then try out the following apps:
LINUX
http://sourceforge.net/projects/lkl/
WINDOWS
http://www.rohos.com/kid-logger/
http://code.google.com/p/freelogger/
ADVICE: You're better off writing your own for learning-and-profit purposes.
There are couple of open source apps that might give you some pointers: