summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorDaniel Serpell <daniel.serpell@gmail.com>2016-02-04 16:03:40 -0300
committerMichael Tokarev <mjt@tls.msk.ru>2016-02-11 15:15:47 +0300
commit91dbeeda2d2cf85e733ddd86aa84de12bdf8cd4a (patch)
tree4e9d10c452367b4c487795ee0dbae159b77eebd8 /hw
parent6e9965d429f22cf68d47aa6397f7d5b0eff913cc (diff)
downloadqemu-91dbeeda2d2cf85e733ddd86aa84de12bdf8cd4a.tar.gz
Adds keycode 86 to the hid_usage_keys translation table.
This key is present in international keyboards, between left shift and the 'Z' key, ant is described in the HID usage tables as "Keyboard Non-US \ and |": http://www.usb.org/developers/hidpage/Hut1_12v2.pdf This patch fixes the usb-kbd devices. Signed-off-by: Daniel Serpell <daniel.serpell@gmail.com> Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw')
-rw-r--r--hw/input/hid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/input/hid.c b/hw/input/hid.c
index a11e2bc0f2..b41efbb451 100644
--- a/hw/input/hid.c
+++ b/hw/input/hid.c
@@ -45,7 +45,7 @@ static const uint8_t hid_usage_keys[0x100] = {
0xe2, 0x2c, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e,
0x3f, 0x40, 0x41, 0x42, 0x43, 0x53, 0x47, 0x5f,
0x60, 0x61, 0x56, 0x5c, 0x5d, 0x5e, 0x57, 0x59,
- 0x5a, 0x5b, 0x62, 0x63, 0x00, 0x00, 0x00, 0x44,
+ 0x5a, 0x5b, 0x62, 0x63, 0x00, 0x00, 0x64, 0x44,
0x45, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e,
0xe8, 0xe9, 0x71, 0x72, 0x73, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x85, 0x00, 0x00, 0x00, 0x00,