Added charCode to keyboard input.