add the missed implementation of En/DisableInputDispatcher