From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:38069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SU2rd-0006AS-Cg for qemu-devel@nongnu.org; Mon, 14 May 2012 17:31:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SU2rb-0002oH-L7 for qemu-devel@nongnu.org; Mon, 14 May 2012 17:31:32 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:54505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SU2rb-0002oC-Bp for qemu-devel@nongnu.org; Mon, 14 May 2012 17:31:31 -0400 Message-ID: <4FB179B9.9090502@rdsoftware.de> Date: Mon, 14 May 2012 23:31:37 +0200 From: Erik Rull MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH] Added keycodes for MS-Windows Keyboards List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "qemu-devel@nongnu.org" Keys for MS-Windows Keyboards (left / right Win Key, Context Key) were not working in SDL / VNC environments, this patch fixes it. Signed-off-by: Erik Rull --- ui/x_keymap.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/x_keymap.c b/ui/x_keymap.c index b9b0944..4efac0d 100644 --- a/ui/x_keymap.c +++ b/ui/x_keymap.c @@ -43,9 +43,9 @@ static const uint8_t x_keycode_to_pc_keycode[115] = { 0xb5, /* 112 Divide */ 0xb8, /* 113 Alt-R */ 0xc6, /* 114 Break */ - 0x0, /* 115 */ - 0x0, /* 116 */ - 0x0, /* 117 */ + 0xdb, /* 115 */ + 0xdc, /* 116 */ + 0xdd, /* 117 */ 0x0, /* 118 */ 0x0, /* 119 */ 0x0, /* 120 */ -- 1.7.2.5