Update InputProcessor.cpp