Update InputDispatcher.cpp