Monitoring keystrokes for user identification
843811Feb 27 2006 — edited Feb 28 2006Hi,
I'm working on a project which requires me to log keystrokes (although I'm not so much interested as to building a history of key events, more of timings between them). The idea is the patterns can be used to identify a user (and log out users who are not the person who logged in).
Java is my preferred language for coding, but doesn't seem to support keystroke logging (outside of awt components firing keystroke events) - I need the program to log keystrokes even when the java app is not the active application.
From what I've looked at so far, the best option seems to be using the Java Native Interface, and perhaps querying the system to see which OS is running (and thus which keyboard (linux/windows) to use). The program would then run in the background and build it's model of the user's keystrokes.
Is there any way I could do this without resorting to writing C/C++ code?
Any help is very much appreciated.
Thanks in advance.