From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LB5PW-00019J-P4 for qemu-devel@nongnu.org; Fri, 12 Dec 2008 05:38:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LB5PV-00018b-29 for qemu-devel@nongnu.org; Fri, 12 Dec 2008 05:38:18 -0500 Received: from [199.232.76.173] (port=34277 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LB5PU-00018Y-S8 for qemu-devel@nongnu.org; Fri, 12 Dec 2008 05:38:16 -0500 Received: from ns.suse.de ([195.135.220.2]:53012 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LB5PU-0007C3-Cq for qemu-devel@nongnu.org; Fri, 12 Dec 2008 05:38:16 -0500 Received: from Relay1.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 1AE8644938 for ; Fri, 12 Dec 2008 11:38:13 +0100 (CET) From: Andreas Schneider Date: Fri, 12 Dec 2008 11:38:12 +0100 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1380118.GLnhHi9K9r"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200812121138.12594.anschneider@suse.de> Subject: [Qemu-devel] [PATCH] Support AltGr in VNC Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --nextPart1380118.GLnhHi9K9r Content-Type: multipart/mixed; boundary="Boundary-01=_U8jQJXMOmyHiJgD" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_U8jQJXMOmyHiJgD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, to type and @ or a \ with a German keyboard layout you need the AltGr key.= =20 Attached is patch which adds support for the AltGr key to the VNC mode. Cheers, -- andreas =2D-=20 Andreas Schneider, SUSE Labs, http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --Boundary-01=_U8jQJXMOmyHiJgD Content-Type: text/x-patch; charset="us-ascii"; name="kvm-qemu-vnc.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="kvm-qemu-vnc.patch" Index: kvm-78/qemu/keymaps/modifiers =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- kvm-78.orig/qemu/keymaps/modifiers +++ kvm-78/qemu/keymaps/modifiers @@ -3,6 +3,7 @@ Shift_L 0x2a =20 Alt_R 0xb8 Mode_switch 0xb8 +Alt_Gr 0xb8 Alt_L 0x38 =20 Control_R 0x9d Index: kvm-78/qemu/vnc_keysym.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- 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 */ --Boundary-01=_U8jQJXMOmyHiJgD-- --nextPart1380118.GLnhHi9K9r Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAklCPxQACgkQYZ3sMXvCEKvkqACdHQYM+g4vkdqCJmmzZeOCHRr/ NGoAmQEqwRJvAYBSVV1Nkt6lto1cLWTu =RAUJ -----END PGP SIGNATURE----- --nextPart1380118.GLnhHi9K9r--