osxKeyLogger is a Mac keylogger that puts an emphasis on 'develop your own program using this as a base'.
osxKeyLogger was written in C (configuration reader includes objective-c for simplicity) and uses Carbon and Cocoa frameworks.
osxKeyLogger records key down and key up events with time and keycode. All keys will be recorded (including modifier keys).
Furthermore, the log will be saved as xml to /tmp/osxKeyLogger.log.
The keys can be printed to stdout:
· Change logFile entry to "stdout" (without the aphostropes) in info.plist.
· un in terminal: ./osxkeylogger.app/Contents/MacOS/osxkeylogger