/gkm-2

An event based, Global Keyboard and Mouse listener.

Primary LanguageJavaMIT LicenseMIT

GKM-2

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

Build

Make sure you have Apache Ant in your PATH

  ant

Run

  # Track keyboard only
  ./run.sh
  # Track keyboard and mouse
  ./run.sh --mouse

image

Requirements

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.

License

The code is licensed under the MIT license (http://opensource.org/licenses/MIT). See license.txt.