Received: from eggs.gnu.org ([2001:4830:134:3::10]:39108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxMKz-0004lP-6d for qemu-devel@nongnu.org; Tue, 26 May 2015 17:24:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxMKu-0005vt-77 for qemu-devel@nongnu.org; Tue, 26 May 2015 17:24:37 -0400 Received: from nonada.if.usp.br ([143.107.131.187]:37921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxMKt-0005vh-Uk for qemu-devel@nongnu.org; Tue, 26 May 2015 17:24:32 -0400 Message-ID: <034ff938719b30664d1432fe3167a9f0.squirrel@nonada.if.usp.br> In-Reply-To: References: <5541B728.8020404@msgid.tls.msk.ru> <555C73AB.2090408@msgid.tls.msk.ru> <1432288894.12533.43.camel@nilsson.home.kraxel.org> <555F2AC7.80807@msgid.tls.msk.ru> <1432300809.12533.55.camel@nilsson.home.kraxel.org> <5c07634a39eecae39a9f0ba7a8cc58d5.squirrel@nonada.if.usp.br> <1432648866.24602.12.camel@nilsson.home.kraxel.org> Date: Tue, 26 May 2015 18:24:28 -0300 From: "Joao Luis Meloni Assirati" MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] ABNT2 keys again List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "R. Lemos" Cc: qemu-devel , 772422@bugs.debian.org, Michael Tokarev , Gerd Hoffmann , Joao Luis Meloni Assirati Hello, > I've tested an unpatched QEMU 2.3.0 (x86_64) with "-k pt_br" option and > the > "/?=C2=B0" key works perfectly. >From the manpage of qemu: -k language Use keyboard layout language (for example "fr" for French). This optio= n 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 probl= em? > > 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 =C3=A0s 11:01, Gerd Hoffmann > escreveu: > >> > static const uint8_t evdev_keycode_to_pc_keycode[61] =3D { >> > - 0, /* 97 EVDEV - RO ("Internet" Keyboards) */ >> > + 0x73, /* 97 EVDEV - /? (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 >> >> >> >