fre 2008-08-29 klockan 09:39 +0200 skrev Dietmar Maurer:
> Hi all,
> 
> This patch add better vnc keymap support, i.e. you can now type a '|'
> and '@' on german keybords.
> 
> It is based on a patch from ricardo ribalda I found on the qemu list
> some months ago.
> 
> - Dietmar 
> 
Is it really necesary with such a big patch? I found this small one on
an old qemu list which made AltGr work for atleast swedish keyboards,
perhaps it will work for German keyboards as well (our keyboards should
be very similar since the main addition is the AltGr key compared with
the US keyboard).

--- ../kvm-70-old/qemu/vnc_keysym.h     2008-06-17 14:09:05.000000000
+0200
+++ qemu/vnc_keysym.h   2008-06-17 14:09:07.000000000 +0200
@@ -204,6 +204,7 @@
 {"EuroSign", 0x20ac},  /* XK_EuroSign */
 
     /* modifiers */
+{"ISO_Level3_Shift", 0xfe03}, /* ISO_Level3 */
 {"Control_L", 0xffe3}, /* XK_Control_L */
 {"Control_R", 0xffe4}, /* XK_Control_R */
 {"Alt_L", 0xffe9},     /* XK_Alt_L */
--- ../kvm-70-old/qemu/keymaps/modifiers        2008-06-17
14:09:04.000000000 +0200
+++ qemu/keymaps/modifiers      2008-06-17 14:09:07.000000000 +0200
@@ -15,3 +15,6 @@
 
 # Translate Menu to the Windows Application key.
 Menu 0xdd
+
+# AltGR
+ISO_Level3_Shift 0xb8

regards, Henrik Holst
Witsbits AB

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to