Been there, done that
Make modifier keys work, hopefully
Switch to keysyms for Esc/Backspace etc. to be layout-independent