How do I know, via key event code, if the character just entered in a