qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Schneider <anschneider@suse.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] Support AltGr in VNC
Date: Fri, 12 Dec 2008 11:38:12 +0100	[thread overview]
Message-ID: <200812121138.12594.anschneider@suse.de> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 313 bytes --]

Hi,

to type and @ or a \ with a German keyboard layout you need the AltGr key. 
Attached is patch which adds support for the AltGr key to the VNC mode.


Cheers,

	-- andreas


-- 
Andreas Schneider, SUSE Labs, http://www.suse.de/
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)

[-- Attachment #1.2: kvm-qemu-vnc.patch --]
[-- Type: text/x-patch, Size: 824 bytes --]

Index: kvm-78/qemu/keymaps/modifiers
===================================================================
--- kvm-78.orig/qemu/keymaps/modifiers
+++ kvm-78/qemu/keymaps/modifiers
@@ -3,6 +3,7 @@ Shift_L 0x2a
 
 Alt_R 0xb8
 Mode_switch 0xb8
+Alt_Gr 0xb8
 Alt_L 0x38
 
 Control_R 0x9d
Index: kvm-78/qemu/vnc_keysym.h
===================================================================
--- kvm-78.orig/qemu/vnc_keysym.h
+++ kvm-78/qemu/vnc_keysym.h
@@ -208,6 +208,7 @@ static const name2keysym_t name2keysym[]
 {"Control_R", 0xffe4}, /* XK_Control_R */
 {"Alt_L", 0xffe9},     /* XK_Alt_L */
 {"Alt_R", 0xffea},     /* XK_Alt_R */
+{"Alt_Gr", 0xfe03},    /* XK_ISO_Level3_Shift */
 {"Caps_Lock", 0xffe5}, /* XK_Caps_Lock */
 {"Meta_L", 0xffe7},    /* XK_Meta_L */
 {"Meta_R", 0xffe8},    /* XK_Meta_R */

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

                 reply	other threads:[~2008-12-12 10:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200812121138.12594.anschneider@suse.de \
    --to=anschneider@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).