Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FvY3P-0002io-Md for qemu-devel@nongnu.org; Wed, 28 Jun 2006 07:17:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FvY3N-0002ib-23 for qemu-devel@nongnu.org; Wed, 28 Jun 2006 07:17:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FvY3M-0002iY-TG for qemu-devel@nongnu.org; Wed, 28 Jun 2006 07:17:52 -0400 Received: from [213.25.173.251] (helo=ns.pers.pl) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FvYFf-0000Es-5f for qemu-devel@nongnu.org; Wed, 28 Jun 2006 07:30:35 -0400 Received: from localhost ([127.0.0.1]) by ns.pers.pl with esmtp (Exim 4.61) (envelope-from ) id 1FvY3K-00025p-4A for qemu-devel@nongnu.org; Wed, 28 Jun 2006 13:17:50 +0200 Received: from ns.pers.pl ([127.0.0.1]) by localhost (ns.pers.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07875-02 for ; Wed, 28 Jun 2006 13:17:44 +0200 (CEST) Received: from aow214.internetdsl.tpnet.pl ([83.17.130.214] helo=[10.0.0.21]) by ns.pers.pl with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.61) (envelope-from ) id 1FvY3D-00025c-UK for qemu-devel@nongnu.org; Wed, 28 Jun 2006 13:17:44 +0200 From: =?utf-8?q?Rafa=C5=82_Cygnarowski?= Subject: Re: [Qemu-devel] qemu kbd emulation Date: Wed, 28 Jun 2006 13:17:22 +0200 References: <200606281027.31617.zswi@pers.pl> <20060628100755.GA3701@miranda.arrow> In-Reply-To: <20060628100755.GA3701@miranda.arrow> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200606281317.22985.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 > > + case 0xc8: /* up */ > > + case 0xd0: /* down */ > > + case 0xcd: /* right */ > > + case 0xcb: /* left */ > > + if (ev->type !=3D SDL_KEYUP) { > > + kbd_put_keycode(e0); > > + kbd_put_keycode(2a); This should be: + kbd_put_keycode(0xe0); + kbd_put_keycode(0x2a); my fault... > > + } > > + 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. Yes, but now I'm trying only these few keys... =2D-=20 Rafa=C5=82 Cygnarowski rafi@pers.pl