Fully integrated input hook.  You can specify `interactive=True` in the call to `use()` or import `set_interactive()` from `vispy.app`.  The ext/inputhook.py file was copied from iPython's 3.x branch.