From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxc3b-0000v2-9L for qemu-devel@nongnu.org; Wed, 27 May 2015 10:11:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yxc3V-00045E-Li for qemu-devel@nongnu.org; Wed, 27 May 2015 10:11:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxc3V-00044e-Dv for qemu-devel@nongnu.org; Wed, 27 May 2015 10:11:37 -0400 Message-ID: <1432735884.16596.3.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Wed, 27 May 2015 16:11:24 +0200 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> <1432627120.28482.5.camel@nilsson.home.kraxel.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] ABNT2 keys again List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Joao Luis Meloni Assirati Cc: 772422@bugs.debian.org, Michael Tokarev , qemu-devel , "R. Lemos" Hi, > >> 12:44:04.253486: EV_MSC MSC_SCAN 458885 <== Here, . in the numpad was > >> pressed > >> 12:44:04.253486: EV_KEY KEY_KPCOMMA (0x79) pressed > > > > Ok. Is there a key with ',' too in your numpad? > > Yes, there is a separated ',' in the numpad, and when I press it I get > > 17:48:47.878881: EV_MSC MSC_SCAN 458851 > 17:48:47.878881: EV_KEY KEY_KPDOT (0x53) pressed > 17:48:47.878881: EV_SYN code=0 value=0 > ^[[3~17:48:47.966876: EV_MSC MSC_SCAN 458851 > 17:48:47.966876: EV_KEY KEY_KPDOT (0x53) released > 17:48:47.966876: EV_SYN code=0 value=0 > > Apparently the codes are exchanged in ABNT2 numpad. No, abnt2 has an additional numpad key. Most keyboards have only one, which is KPDOT. In US kbd layout this actually maps to a dot. On other layouts (german for example) it maps to comma. Probably because different countries use different chars as decimal separator. abnt2 is unique here, it has both comma and dot. cheers, Gerd