This function allows me to see what key was pressed. However, what I want to do, is get the character, not the key. What I mean, is that if you type 3 you get a character of 3. If you type #, (Shift+3) then you also get 3.

I want to get the character that was entered. How do I do this?
Thank you for the help.