Completed working example of the https://github.com/openeyes/OpenEyes/wiki/Event-Type-Module-Development-Guide