From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uwlju-00086i-Ci for qemu-devel@nongnu.org; Wed, 10 Jul 2013 00:10:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uwljo-0006Gd-JS for qemu-devel@nongnu.org; Wed, 10 Jul 2013 00:10:50 -0400 Received: from relay01.pair.com ([209.68.5.15]:3966) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Uwljo-0006GM-Av for qemu-devel@nongnu.org; Wed, 10 Jul 2013 00:10:44 -0400 Message-ID: <51DCDEC2.60100@tarl.net> Date: Wed, 10 Jul 2013 00:10:42 -0400 From: Tarl Neustaedter MIME-Version: 1.0 References: <1373391155.8183.196@snotra> <22AD60BC-ADE5-4BDD-BEAC-E802085D66BC@gmail.com> In-Reply-To: <22AD60BC-ADE5-4BDD-BEAC-E802085D66BC@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc] Mac OS X on QEMU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The OpenBIOS Mailinglist Cc: Scott Wood , Programmingkid , "qemu-ppc@nongnu.org list:PowerPC" , qemu-devel qemu-devel , Stefan Hajnoczi On 2013-Jul-9 23:36 , Programmingkid wrote: > I don't think so. The command key is equal to 0x37. The windows key is equal to 0x5B. This is my source:http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx Err, no. USB keyboards generate standard codes for keypresses, regardless of whether they are labeled "windows" or "command" (or "meta"). It's a major pain in the ass that vendors sell keyboards with completely different markings and absolutely no difference in the codes they generate. Sun keyboards produced a byte saying what markings were on the keyboard so we could set up the right tables, but standard USB keyboards don't. So we have to ask - one of the few conventions is that the numbers 0-9 are fixed, so we can at least ask for a number to be typed. In any case, about the Command/Windows/Meta key: http://en.wikipedia.org/wiki/Command_key#On_other_keyboards "On a keyboard made with MS Windows logo, the Windows key is mapped to act as the Command key"