qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Added keycodes for MS-Windows Keyboards


From: Erik Rull
Subject: [Qemu-devel] [PATCH] Added keycodes for MS-Windows Keyboards
Date: Mon, 14 May 2012 23:31:37 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20120429 Firefox/12.0 SeaMonkey/2.9.1

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 <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]