https://bugs.winehq.org/show_bug.cgi?id=43010
--- Comment #2 from Iiro Laiho ilmaisin@openmailbox.org --- Oops, I was confusing scancodes and keycodes. Scancodes are converted to keycodes and then they are converted to characters. IMO wine should convert X11 keycodes directly back to scancodes since neither of them are dependent on locale. Now wine seems to do something much more complicated and error prone.