inputEngine.Update(EventObject &event) { inputEngine.Keyboard.Keys[KEY_UP] = event.Keys[KEY_UP]; //other keys follow }