All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] Fix key 'numerosign' missing in Russian keyboard
@ 2015-02-28  8:33 arei.gonglei
  2015-02-28  8:33 ` [Qemu-devel] [PATCH v2 1/2] qemu-char: add cyrillic characters 'numerosign' to VNC keysyms arei.gonglei
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: arei.gonglei @ 2015-02-28  8:33 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-trivial, Wang Xin, mjt, peter.huangpeng, arei.gonglei, kraxel

From: Wang Xin <wangxinxin.wang@huawei.com>

Add the keysym and keycode of 'numerosign' in Russian keyboard layout
to VNC keysyms table and keymap.

v2->v1:
 Remove the key 'numbersign' from Russian keymap as it is not exsit
 in Russian keyboard layout.

Wang Xin (2):
  qemu-char: add cyrillic characters 'numerosign' to VNC keysyms
  qemu-char: add cyrillic key 'numerosign' to Russian keymap

 pc-bios/keymaps/ru | 2 +-
 ui/vnc_keysym.h    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
1.8.3.4

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

* [Qemu-devel] [PATCH v2 1/2] qemu-char: add cyrillic characters 'numerosign' to VNC keysyms
  2015-02-28  8:33 [Qemu-devel] [PATCH v2 0/2] Fix key 'numerosign' missing in Russian keyboard arei.gonglei
@ 2015-02-28  8:33 ` arei.gonglei
  2015-02-28  8:33 ` [Qemu-devel] [PATCH v2 2/2] qemu-char: add cyrillic key 'numerosign' to Russian keymap arei.gonglei
  2015-02-28  9:24 ` [Qemu-devel] [PATCH v2 0/2] Fix key 'numerosign' missing in Russian keyboard Michael Tokarev
  2 siblings, 0 replies; 4+ messages in thread
From: arei.gonglei @ 2015-02-28  8:33 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-trivial, Wang Xin, mjt, peter.huangpeng, arei.gonglei, kraxel

From: Wang Xin <wangxinxin.wang@huawei.com>

This patch adds missing cyrillic characters 'numerosign' to the VNC
keysym table, it's need by Russian keyboard. And I get the keysym from
'<X11/keysymdef.h>', the current keysym table in Qemu was generated from
it.

Signed-off-by: Wang xin <wangxinxin.wang@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
---
 ui/vnc_keysym.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/vnc_keysym.h b/ui/vnc_keysym.h
index 1dc039f..7fa2bc1 100644
--- a/ui/vnc_keysym.h
+++ b/ui/vnc_keysym.h
@@ -404,6 +404,7 @@ static const name2keysym_t name2keysym[]={
 {"breve",                         0x01a2},  /* U+02D8 BREVE */
 {"caron",                         0x01b7},  /* U+02C7 CARON */
 {"Ccaron",                        0x01c8},  /* U+010C LATIN CAPITAL LETTER C WITH CARON */
+{"numerosign",                    0x06b0},  /* U+2116 NUMERO SIGN */
 {"Cyrillic_a",                    0x06c1},  /* U+0430 CYRILLIC SMALL LETTER A */
 {"Cyrillic_A",                    0x06e1},  /* U+0410 CYRILLIC CAPITAL LETTER A */
 {"Cyrillic_be",                   0x06c2},  /* U+0431 CYRILLIC SMALL LETTER BE */
-- 
1.8.3.4

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

* [Qemu-devel] [PATCH v2 2/2] qemu-char: add cyrillic key 'numerosign' to Russian keymap
  2015-02-28  8:33 [Qemu-devel] [PATCH v2 0/2] Fix key 'numerosign' missing in Russian keyboard arei.gonglei
  2015-02-28  8:33 ` [Qemu-devel] [PATCH v2 1/2] qemu-char: add cyrillic characters 'numerosign' to VNC keysyms arei.gonglei
@ 2015-02-28  8:33 ` arei.gonglei
  2015-02-28  9:24 ` [Qemu-devel] [PATCH v2 0/2] Fix key 'numerosign' missing in Russian keyboard Michael Tokarev
  2 siblings, 0 replies; 4+ messages in thread
From: arei.gonglei @ 2015-02-28  8:33 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-trivial, Wang Xin, mjt, peter.huangpeng, arei.gonglei, kraxel

From: Wang Xin <wangxinxin.wang@huawei.com>

numero sign is the number sign key of Russian keyboard layout, we
get this key with press 'shift + 3'. It's missing in current
Russian keymap file, this patch fix it.
As number sign is not exsit in Russian keyboard layout[1][2], this
patch also remove the 'numbersign' from Russian keymap.

[1] http://en.wikipedia.org/wiki/Keyboard_layout#Russian
[2] http://kbd-intl.narod.ru/english/layouts

Signed-off-by: Wang Xin <wangxinxin.wang@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
---
v2->v1:
  Remove the key 'numbersign' from Russian keymap.
---
 pc-bios/keymaps/ru | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pc-bios/keymaps/ru b/pc-bios/keymaps/ru
index b3e7d24..8f652d5 100644
--- a/pc-bios/keymaps/ru
+++ b/pc-bios/keymaps/ru
@@ -4,7 +4,7 @@ map 0x419
 exclam 0x02 shift
 at 0x03 shift
 quotedbl 0x03 shift altgr
-numbersign 0x04 shift
+numerosign 0x04 shift
 dollar 0x05 shift
 asterisk 0x05 shift altgr
 percent 0x06 shift
-- 
1.8.3.4

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

* Re: [Qemu-devel] [PATCH v2 0/2] Fix key 'numerosign' missing in Russian keyboard
  2015-02-28  8:33 [Qemu-devel] [PATCH v2 0/2] Fix key 'numerosign' missing in Russian keyboard arei.gonglei
  2015-02-28  8:33 ` [Qemu-devel] [PATCH v2 1/2] qemu-char: add cyrillic characters 'numerosign' to VNC keysyms arei.gonglei
  2015-02-28  8:33 ` [Qemu-devel] [PATCH v2 2/2] qemu-char: add cyrillic key 'numerosign' to Russian keymap arei.gonglei
@ 2015-02-28  9:24 ` Michael Tokarev
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Tokarev @ 2015-02-28  9:24 UTC (permalink / raw)
  To: arei.gonglei, qemu-devel; +Cc: qemu-trivial, Wang Xin, peter.huangpeng, kraxel

28.02.2015 11:33, arei.gonglei@huawei.com wrote:
> From: Wang Xin <wangxinxin.wang@huawei.com>
> 
> Add the keysym and keycode of 'numerosign' in Russian keyboard layout
> to VNC keysyms table and keymap.
> 
> v2->v1:
>  Remove the key 'numbersign' from Russian keymap as it is not exsit
>  in Russian keyboard layout.
> 
> Wang Xin (2):
>   qemu-char: add cyrillic characters 'numerosign' to VNC keysyms
>   qemu-char: add cyrillic key 'numerosign' to Russian keymap

Applied to -trivial, with slight grammar fixes in commit comments,
thank you!

/mjt

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

end of thread, other threads:[~2015-02-28  9:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-28  8:33 [Qemu-devel] [PATCH v2 0/2] Fix key 'numerosign' missing in Russian keyboard arei.gonglei
2015-02-28  8:33 ` [Qemu-devel] [PATCH v2 1/2] qemu-char: add cyrillic characters 'numerosign' to VNC keysyms arei.gonglei
2015-02-28  8:33 ` [Qemu-devel] [PATCH v2 2/2] qemu-char: add cyrillic key 'numerosign' to Russian keymap arei.gonglei
2015-02-28  9:24 ` [Qemu-devel] [PATCH v2 0/2] Fix key 'numerosign' missing in Russian keyboard Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.