qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [PATCH 2/2] qemu-char: add cyrillic key 'numerosign'


From: Gonglei
Subject: Re: [Qemu-trivial] [PATCH 2/2] qemu-char: add cyrillic key 'numerosign' to Russian keymap
Date: Mon, 16 Feb 2015 16:53:06 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2015/2/16 16:33, Michael Tokarev wrote:
> 16.02.2015 11:28, Gerd Hoffmann wrote:
>>> 'numerosign' is the numbersign 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.
>>
>>
>>>  quotedbl 0x03 shift altgr
>>>  numbersign 0x04 shift
>>
>> Looks like this line should be removed.
> 
> Or alternatively, it should be kept but the patch 1/2 should introduce
> "numbersign" not "numerosign".  But I don't know the official name of
> this sign.
> 
Both "numbersign" and "numerosign" needed. Although they have the same
keymap characters, their keysym in vnc_keysym.h are different:

static const name2keysym_t name2keysym[]={
...
     { "numbersign",           0x023},
...
    +{"numerosign",                    0x06b0},  /* U+2116 NUMERO SIGN */
...
Please see the provenance:
 http://www.cl.cam.ac.uk/~mgk25/ucs/keysymdef.h
#define XK_numbersign                    0x0023  /* U+0023 NUMBER SIGN */
#define XK_numerosign                    0x06b0  /* U+2116 NUMERO SIGN */

Regards,
-Gonglei




reply via email to

[Prev in Thread] Current Thread [Next in Thread]