All of lore.kernel.org
 help / color / mirror / Atom feed
From: Erik Rull <erik.rull@rdsoftware.de>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH] Added keycodes for MS-Windows Keyboards
Date: Mon, 14 May 2012 23:31:37 +0200	[thread overview]
Message-ID: <4FB179B9.9090502@rdsoftware.de> (raw)

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 <erik.rull@rdsoftware.de>
---
  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	other threads:[~2012-05-14 21:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14 21:31 Erik Rull [this message]
2012-05-15 21:43 ` [Qemu-devel] [PATCH] Added keycodes for MS-Windows Keyboards Erik Rull

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FB179B9.9090502@rdsoftware.de \
    --to=erik.rull@rdsoftware.de \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.