From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WheJ2-00060H-QL for qemu-devel@nongnu.org; Tue, 06 May 2014 08:17:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WheIw-0005MU-0s for qemu-devel@nongnu.org; Tue, 06 May 2014 08:17:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:23152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WheIv-0005MN-QQ for qemu-devel@nongnu.org; Tue, 06 May 2014 08:17:01 -0400 Message-ID: <1399378599.25009.3.camel@nilsson.home.kraxel.org> From: Gerd Hoffmann Date: Tue, 06 May 2014 14:16:39 +0200 In-Reply-To: <53640D97.9080409@caramail.com> References: <1398335869-30072-1-git-send-email-kraxel@redhat.com> <1398335869-30072-6-git-send-email-kraxel@redhat.com> <535B057E.4010401@caramail.com> <1398770204.29651.24.camel@nilsson.home.kraxel.org> <53640D97.9080409@caramail.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 5/6] input: switch sparc32 kbd to new input api List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Olivier Danet Cc: Blue Swirl , Mark Cave-Ayland , qemu-devel@nongnu.org Hi, > - put_queue(s, 0); // XXX, layout? > + put_queue(s, 0x21); // USA layout > Here is a mapping with corrected codes for arrows/pgup/pgdown... : > > static const uint8_t qcode_to_keycode[Q_KEY_CODE_MAX] = { [ ... ] Picked it up, thanks. > I have tried a 119 keys Sun USB keyboard but the additional keys do not seem to > be detected by QEMU. Needs more work... Using the 'sendkey' monitor command should work. Typing on the physical keyboard needs work in the UI code I guess. What you are using? gtk? sdl? vnc? cheers, Gerd