Help with Listeners

I’m trying to get this old addon working. I got it to build, but since it doesn’t have any example projects, I’m not sure how to use it. It uses a listener, but the method call is different from the one in ofxMidi (which has its own listener class). ofxKeylogger.h contains this code:

	template <typename ArgumentsType, class ListenerClass>
	static void addListener(
					ListenerClass* listener
					,void (ListenerClass::*listenerMethod)(ArgumentsType&))
		ofAddListener(ofxKeyloggerEventDispatcher, listener, listenerMethod);

Not sure what to put for typename, or listenerClass… Maybe I just need to learn about c++ Listeners in general to get this? If someone can point me in the right direction, I’ll do the necessary study…