
Looking at what the X11 backend does: the unicode value is being translated to the unicode codepoint of the symbol if possible. Let's do the same then. Before that, key events for say KEY_Right (0xff53) had the unicode_value set to the keysym, which meant "This key event is actually printable and is Unicode codepoint is 0xff53", which lead to interesting results.