Closed the-ress closed 8 years ago
It's caused by ToUnicode
for Shift+AltGr+VKEY_OEM_102
. It inserts the dead character into the keyboard buffer as described in ToUnicodeEx documentation:
As ToUnicodeEx translates the virtual-key code, it also changes the state of the kernel-mode keyboard buffer. This state-change affects dead keys, ligatures, alt+numpad key entry, and so on.
Fixed by PR #5
The code adds double acute accent dead character when run with Czech Programmers keyboard layout.
How to reproduce:
npm test
.a
.Result:
˝a
gets typed.This is very annoying as it happens every time I run VS Code.