I just logged the text to the console and copied it. I don't know how to generate the actual characters from the keyboard. For control, alt, etc., they return strings, not characters, so you are going to have to search for those strings first, and convert to some special character that can be mapped in SpriteFont. 'Shift' is not reported as a key code.