Create InputHandler