Further defined InputManager functions checkInput and passEvent