Allow ToAscii/ToUnicode to work with scanCode = 0.