Updated InputHandler.