An event based, Global Keyboard and Mouse listener.
Tested on Windows 7, but should work on Linux and Mac OS X as well (untested).
This project is inspired from https://github.com/tomzx/gkm-java
Make sure you have Apache Ant in your PATH
ant
# Track keyboard only
./run.sh
# Track keyboard and mouse
./run.sh --mouse
GKM-Java depends on JNativeHook, which runs on Java. Thus you will need to have a JVM available and more importantly, java availble on your PATH.
The code is licensed under the MIT license (http://opensource.org/licenses/MIT). See license.txt.