update InputManager.java

draft 1.0