A little more input refactoring.
Added vector version of CX_Keyboard::waitForKeypress