qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Support AltGr in VNC
@ 2008-12-12 10:38 Andreas Schneider
  0 siblings, 0 replies; only message in thread
From: Andreas Schneider @ 2008-12-12 10:38 UTC (permalink / raw)
  To: qemu-devel


[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-12-12 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-12 10:38 [Qemu-devel] [PATCH] Support AltGr in VNC Andreas Schneider

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).