qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] vnc: added missing name->keysym pairs for Polish national characters
@ 2011-03-14  9:30 Leszek Grzegorek
  2011-04-01 20:29 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Leszek Grzegorek @ 2011-03-14  9:30 UTC (permalink / raw)
  To: qemu-devel

Hi,

There are no { name, keysym } values in name2keysym[] array for Polish
national characters so "-k pl" option has no effect.

Regards,
Leszek


Signed-off-by: Leszek Grzegorek <leszek.grzegorek@gmail.com>
---
diff --git a/ui/vnc_keysym.h b/ui/vnc_keysym.h
index 55cb87e..df33cfe 100644
--- a/ui/vnc_keysym.h
+++ b/ui/vnc_keysym.h
@@ -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 */

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] vnc: added missing name->keysym pairs for Polish national characters
  2011-03-14  9:30 [Qemu-devel] [PATCH] vnc: added missing name->keysym pairs for Polish national characters Leszek Grzegorek
@ 2011-04-01 20:29 ` Aurelien Jarno
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2011-04-01 20:29 UTC (permalink / raw)
  To: Leszek Grzegorek; +Cc: qemu-devel

On Mon, Mar 14, 2011 at 10:30:08AM +0100, Leszek Grzegorek wrote:
> Hi,
> 
> There are no { name, keysym } values in name2keysym[] array for Polish
> national characters so "-k pl" option has no effect.
> 
> Regards,
> Leszek
> 
> 
> Signed-off-by: Leszek Grzegorek <leszek.grzegorek@gmail.com>
> ---

Thanks, applied.

> diff --git a/ui/vnc_keysym.h b/ui/vnc_keysym.h
> index 55cb87e..df33cfe 100644
> --- a/ui/vnc_keysym.h
> +++ b/ui/vnc_keysym.h
> @@ -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 */
> 
> 

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-04-01 20:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-14  9:30 [Qemu-devel] [PATCH] vnc: added missing name->keysym pairs for Polish national characters Leszek Grzegorek
2011-04-01 20:29 ` Aurelien Jarno

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