qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Extra scan codes for missing keys


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] Extra scan codes for missing keys
Date: Tue, 22 Jun 2010 20:46:28 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4

On 06/01/2010 10:32 PM, Bernhard M. Wiedemann wrote:
The code comes from
http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02788.html

Without this patch it is not possible to send at least 10 special
characters (\|'"`~:;[]{}) via the monitor sendkey command.

Signed-off-by: Bernhard M. Wiedemann<address@hidden>

Applied.  Thanks.

Regards,

Anthony Liguori
---
  monitor.c |    7 ++++++-
  1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/monitor.c b/monitor.c
index 15b53b9..1635040 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1563,7 +1563,8 @@ static const KeyDef key_defs[] = {
      { 0x17, "i" },
      { 0x18, "o" },
      { 0x19, "p" },
-
+    { 0x1a, "bracket_left" },
+    { 0x1b, "bracket_right" },
      { 0x1c, "ret" },

      { 0x1e, "a" },
@@ -1575,7 +1576,11 @@ static const KeyDef key_defs[] = {
      { 0x24, "j" },
      { 0x25, "k" },
      { 0x26, "l" },
+    { 0x27, "semicolon" },
+    { 0x28, "apostrophe" },
+    { 0x29, "grave_accent" },

+    { 0x2b, "backslash" },
      { 0x2c, "z" },
      { 0x2d, "x" },
      { 0x2e, "c" },




reply via email to

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