added support for more autofocus events per issue #49