diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2016-12-28 04:55:51 +0900 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-01-10 08:14:20 +0100 |
commit | e934644126f214a99bb3b3201f73fe7f0c579ef7 (patch) | |
tree | 0d522d9cb167bee480accc28277401602c724336 /ui/input-keymap.c | |
parent | f27ff81070b0cc4f5906361964563cc680febe2d (diff) | |
download | qemu-e934644126f214a99bb3b3201f73fe7f0c579ef7.zip |
ps2: Fix lost scancodes by recent changes
With "ps2: use QEMU qcodes instead of scancodes", key handling was
changed to qcode base. But all scancodes are not converted to new one.
This adds some missing qcodes/scancodes what I found in using.
[set1 and set3 are from <hpoussin@reactos.org>]
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/input-keymap.c')
-rw-r--r-- | ui/input-keymap.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/input-keymap.c b/ui/input-keymap.c index f1e700d720..8a1476fc48 100644 --- a/ui/input-keymap.c +++ b/ui/input-keymap.c @@ -131,6 +131,9 @@ static const int qcode_to_number[] = { [Q_KEY_CODE_DELETE] = 0xd3, [Q_KEY_CODE_RO] = 0x73, + [Q_KEY_CODE_HIRAGANA] = 0x70, + [Q_KEY_CODE_HENKAN] = 0x79, + [Q_KEY_CODE_YEN] = 0x7d, [Q_KEY_CODE_KP_COMMA] = 0x7e, [Q_KEY_CODE__MAX] = 0, |