Back to home

ofxKeylogger

For a project we're working on for the "Amsterdam Museum" with Apollo I had to catch system wide keypress events.  At my github page you can download the keylogger addon for openFrameworks which works both on Mac and Windows.  It does what I want but I'm aware that the windows version needs a bit work to be a fully capable keylogger as it's not yet figuring out what modifier keys are pressed. 

To test the ofxKeylogger addon on Mac, I created a simple application which counts how many keystrokers it receives. And wow this is crazy.. The count is on "22.201" at this moment which are the number of key strokes it received in about 4 hours.  This roughly means I press my keyboard 12.000.000 times a year?