qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] ABNT2 keys again


From: Joao Luis Meloni Assirati
Subject: Re: [Qemu-devel] ABNT2 keys again
Date: Tue, 26 May 2015 18:24:28 -0300
User-agent: SquirrelMail/1.4.23 [SVN]

Hello,

> I've tested an unpatched QEMU 2.3.0 (x86_64) with "-k pt_br" option and
> the
> "/?°" key works perfectly.

>From the manpage of qemu:

-k language
   Use keyboard layout language (for example "fr" for French). This option
is only needed where it is not easy to get raw PC keycodes (e.g. on
Macs, with some X11 servers or with a VNC display). You don't normally
need to use it on PC/Linux or PC/Windows hosts.

Do you think that using the -k option is the right solution to this problem?

>
> I have not tested the numpad ".", but I can inform that ABNT2 keyboard
> does
> have "." (dot) and "," (comma) as separate keys: comma (numlock on)
> combined with delete (numlock off).
>
> But I found another key that is not working: the "<," ("less than"
> "comma"). Right now I cannot give details about its scancode, nor make any
> further test.
>
>
> Em ter, 26 de mai de 2015 às 11:01, Gerd Hoffmann <address@hidden>
> escreveu:
>
>> >  static const uint8_t evdev_keycode_to_pc_keycode[61] = {
>> > -    0,         /*  97 EVDEV - RO   ("Internet" Keyboards) */
>> > +    0x73,      /*  97 EVDEV - /?<C2><B0> (ABNT2 Keyboards) */
>>
>> That one looks good.
>>
>> > -    0,         /* 129 EVDEV - I129 ("Internet" Keyboards) */
>> > +    0x34,      /* 129 abnt2 KP-period */
>>
>> That is the *other* dot key, outside keypad.
>>
>> Patches just sent via git-send-email, test results are welcome.
>>
>> thanks,
>>   Gerd
>>
>>
>>
>




reply via email to

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