Pushed a new version that takes care of TightVNC's era Xvnc keycode -> scancode mapping. There's probably room for further cleanup and simplification, but I thought it might be better to show where I'm currently at early rather than late. Basically I'm keeping only the old vnc mapping tables (the other ones we had are effectively an approximation of the fixed mapping we're using starting from 863836da) with some limited dynamic lookup for "character" keys. FWIW, the mapping I'm getting seems to match https://github.com/TurboVNC/tightvnc/blob/main/vnc_unixsrc/Xvnc/programs/Xse... and I guess we could consider using an alternate static mapping function when detecting this. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10963#note_143540