Adding some code demonstrating hooking key and mouse events to a view.
Everything must go through the view's scene.