Received: from eggs.gnu.org ([2001:4830:134:3::10]:39094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afqpz-0001Lu-Vq for qemu-devel@nongnu.org; Tue, 15 Mar 2016 11:24:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afqpw-0005xO-Oc for qemu-devel@nongnu.org; Tue, 15 Mar 2016 11:24:47 -0400 Received: from mail-ig0-x230.google.com ([2607:f8b0:4001:c05::230]:34229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afqpw-0005xI-GP for qemu-devel@nongnu.org; Tue, 15 Mar 2016 11:24:44 -0400 Received: by mail-ig0-x230.google.com with SMTP id av4so90279326igc.1 for ; Tue, 15 Mar 2016 08:24:44 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: Date: Tue, 15 Mar 2016 11:24:41 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8768A4C2-CEBF-411A-9B43-9F43EA755238@gmail.com> <41EC2072-FB9D-4003-A0CB-1DBFA0B2A27D@gmail.com> <77582ECD-0206-4FD9-AE2C-3B31E78FA44F@gmail.com> Subject: Re: [Qemu-devel] [PATCH v4 4/4] hw/input/adb.c: implement QKeyCode support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-devel qemu-devel On Mar 15, 2016, at 5:22 AM, Peter Maydell wrote: > On 14 March 2016 at 23:06, Programmingkid = wrote: >> On Mar 13, 2016, at 11:40 AM, Peter Maydell wrote: >>> Also, you need to handle the power-key key-release >>> scancode; as far as I can tell (by looking for info via >>> google about the ADB protocol) power-key-down is >>> 0x7f 0x7f, and power-key-up is 0xff 0xff. (This is >>> kind of weird and suggests we should just take option >>> (a) and special case the power key completely.) >>=20 >> The power-key-up (break) keycode is 0xff 0xff? Could you send me your >> source for this information? >=20 > https://developer.apple.com/legacy/library/technotes/hw/hw_01.html > (section "Apple Keyboard Protocol"). >=20 > Power-key is a weird one both for key-up and key-down. I did several tests and found out that the USB keyboard actually works a = lot better than the ADB keyboard. Would you accept a patch that changes = the default keyboard and mouse to USB for the Mac99 target? This target = will always have USB available. USB peripherals are what the real = counterpart uses.=20=