add event handler to mini-ogre