]> git.proxmox.com Git - qemu.git/commitdiff
vnc: added missing name->keysym pairs for Polish national characters
authorLeszek Grzegorek <leszek.grzegorek@gmail.com>
Mon, 14 Mar 2011 09:30:08 +0000 (10:30 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Fri, 1 Apr 2011 20:29:27 +0000 (22:29 +0200)
There are no { name, keysym } values in name2keysym[] array for Polish
national characters so "-k pl" option has no effect.

Signed-off-by: Leszek Grzegorek <leszek.grzegorek@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
ui/vnc_keysym.h

index 55cb87edecad7e14a6f51f6815d8eb1921f378ec..df33cfe53c9dc92113c883a95f99d0a4d3e26e41 100644 (file)
@@ -202,6 +202,24 @@ static const name2keysym_t name2keysym[]={
 { "ydiaeresis",           0x0ff},
 {"EuroSign", 0x20ac},  /* XK_EuroSign */
 
+/* latin 2 - Polish national characters */
+{ "eogonek",              0x1ea},
+{ "Eogonek",              0x1ca},
+{ "aogonek",              0x1b1},
+{ "Aogonek",              0x1a1},
+{ "sacute",               0x1b6},
+{ "Sacute",               0x1a6},
+{ "lstroke",              0x1b3},
+{ "Lstroke",              0x1a3},
+{ "zabovedot",            0x1bf},
+{ "Zabovedot",            0x1af},
+{ "zacute",               0x1bc},
+{ "Zacute",               0x1ac},
+{ "cacute",               0x1e6},
+{ "Cacute",               0x1c6},
+{ "nacute",               0x1f1},
+{ "Nacute",               0x1d1},
+
     /* modifiers */
 {"ISO_Level3_Shift", 0xfe03}, /* XK_ISO_Level3_Shift */
 {"Control_L", 0xffe3}, /* XK_Control_L */