diff mbox

[Bug,584139,NEW] keymapping error for usb keyboard (windows/menu keys)

Message ID 20100522091646.29377.77828.malonedeb@soybean.canonical.com
State New
Headers show

Commit Message

Michael Tokarev May 22, 2010, 9:16 a.m. UTC
Public bug reported:

The windows and menu keys for usb keyboard in qemu are wrong.  They're
correct for "ps/2" keyboard emulation however.  See Debian bug#578846:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578846.

Here's the proposed fix:

Comments

Aurelien Jarno Jan. 16, 2011, 6:53 p.m. UTC | #1
** Changed in: qemu
       Status: New => Fix Committed
Aurelien Jarno Feb. 20, 2011, 5:13 p.m. UTC | #2
** Changed in: qemu
       Status: Fix Committed => Fix Released
diff mbox

Patch

--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -399,3 +399,3 @@ 
     0x51, 0x4e, 0x49, 0x4c, 0x00, 0x00, 0x00, 0x00,
-    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+    0x00, 0x00, 0x00, 0xe3, 0xe7, 0x65, 0x00, 0x00,
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: patch

** Tags added: patch

-- 
keymapping error for usb keyboard (windows/menu keys)
https://bugs.launchpad.net/bugs/584139
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.

Status in QEMU: New

Bug description:
The windows and menu keys for usb keyboard in qemu are wrong.  They're correct for "ps/2" keyboard emulation however.  See Debian bug#578846: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578846.

Here's the proposed fix:

--- a/hw/usb-hid.c
+++ b/hw/usb-hid.c
@@ -399,3 +399,3 @@ 
     0x51, 0x4e, 0x49, 0x4c, 0x00, 0x00, 0x00, 0x00,
-    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+    0x00, 0x00, 0x00, 0xe3, 0xe7, 0x65, 0x00, 0x00,
     0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,