Removes updateMouseState; events type for key and mouse handlers