• Jan Krupa's avatar
    qemu-char: add support for U-prefixed symbols · 82807159
    Jan Krupa authored
    This patch adds support for Unicode symbols in keymap files. This
    feature was already used in some keyboard layouts in QEMU generated
    from XKB (e.g. Arabic) but it wasn't implemented in QEMU source code.
    There is no need for check of validity of the hex string after U character
    because strtol returns 0 in case the conversion was unsuccessful.
    Signed-off-by: default avatarJan Krupa <jkrupa@suse.com>
    Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
keymaps.c 6.04 KB