WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.2-testing] qemu: add 0xe0 prefix to r-ctrl and r-

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] qemu: add 0xe0 prefix to r-ctrl and r-alt keycodes
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 15 May 2008 07:30:27 -0700
Delivery-date: Thu, 15 May 2008 07:30:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1210841176 -3600
# Node ID 7bfd5bead11adcaf548f56e47bf8a41c1a3a4c9a
# Parent  5824167feb81c6b85094d26da633a6a2e7ff496f
qemu: add 0xe0 prefix to r-ctrl and r-alt keycodes

Patch puts 0xe0 prefix before putting right alt or right cntrl
keycodes. Also adds keysm definition for ISO_Left_Tab.

Signed-off-by: Pat Campbell <plc@xxxxxxxxxx>
xen-unstable changeset:   17632:39566bf4c9f09cc0b14e2c8ea2963e2efdf9f469
xen-unstable date:        Wed May 14 09:13:48 2008 +0100
---
 tools/ioemu/vnc.c        |    2 ++
 tools/ioemu/vnc_keysym.h |    1 +
 2 files changed, 3 insertions(+)

diff -r 5824167feb81 -r 7bfd5bead11a tools/ioemu/vnc.c
--- a/tools/ioemu/vnc.c Wed May 14 09:12:27 2008 +0100
+++ b/tools/ioemu/vnc.c Thu May 15 09:46:16 2008 +0100
@@ -1133,6 +1133,8 @@ static void do_key_event(VncState *vs, i
     case 0x9d:                          /* Right CTRL */
     case 0x38:                          /* Left ALT */
     case 0xb8:                          /* Right ALT */
+        if (keycode & 0x80)
+            kbd_put_keycode(0xe0);
         if (down) {
             vs->modifiers_state[keycode] = 1;
             kbd_put_keycode(keycode & 0x7f);
diff -r 5824167feb81 -r 7bfd5bead11a tools/ioemu/vnc_keysym.h
--- a/tools/ioemu/vnc_keysym.h  Wed May 14 09:12:27 2008 +0100
+++ b/tools/ioemu/vnc_keysym.h  Thu May 15 09:46:16 2008 +0100
@@ -345,6 +345,7 @@ static name2keysym_t name2keysym[]={
 {"Num_Lock", 0xff7f},    /* XK_Num_Lock */
 {"Pause", 0xff13},       /* XK_Pause */
 {"Escape", 0xff1b},      /* XK_Escape */
+{"ISO_Left_Tab", 0xfe20},/* XK_ISO_Left_Tab */
 
     /* localized keys */
 {"BackApostrophe", 0xff21},

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] qemu: add 0xe0 prefix to r-ctrl and r-alt keycodes, Xen patchbot-3.2-testing <=