Take keyCode normalization into account.