InputManager implemented (touch and mouse)