From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FvWxL-0002TC-Jy for qemu-devel@nongnu.org; Wed, 28 Jun 2006 06:07:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FvWxJ-0002Sv-24 for qemu-devel@nongnu.org; Wed, 28 Jun 2006 06:07:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FvWxI-0002Ss-Tj for qemu-devel@nongnu.org; Wed, 28 Jun 2006 06:07:32 -0400 Received: from [81.103.221.48] (helo=mtaout02-winn.ispmail.ntl.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FvX9b-00031W-A1 for qemu-devel@nongnu.org; Wed, 28 Jun 2006 06:20:15 -0400 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20060628100731.COEI27023.mtaout02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com> for ; Wed, 28 Jun 2006 11:07:31 +0100 Received: from miranda.arrow ([213.107.21.212]) by aamtaout02-winn.ispmail.ntl.com with ESMTP id <20060628100731.BAYU1421.aamtaout02-winn.ispmail.ntl.com@miranda.arrow> for ; Wed, 28 Jun 2006 11:07:31 +0100 Received: from sdb by miranda.arrow with local (Exim 4.50) id 1FvWxf-0000xr-At for qemu-devel@nongnu.org; Wed, 28 Jun 2006 11:07:55 +0100 Date: Wed, 28 Jun 2006 11:07:55 +0100 From: Stuart Brady Subject: Re: [Qemu-devel] qemu kbd emulation Message-ID: <20060628100755.GA3701@miranda.arrow> References: <200606281027.31617.zswi@pers.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200606281027.31617.zswi@pers.pl> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Wed, Jun 28, 2006 at 10:27:31AM +0200, Rafa?? Cygnarowski wrote: > + case 0xc8: /* up */ > + case 0xd0: /* down */ > + case 0xcd: /* right */ > + case 0xcb: /* left */ > + if (ev->type != SDL_KEYUP) { > + kbd_put_keycode(e0); > + kbd_put_keycode(2a); > + } > + break; > } As I suspected, this is the "fake shift" sequence. It's should also be needed for the insert, delete, home, end, page up and page down keys. Note that fake shifts shouldn't be generated for the numeric keypad. -- Stuart Brady