Received: from eggs.gnu.org ([2001:4830:134:3::10]:56417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwvCl-0003fR-Ux for qemu-devel@nongnu.org; Wed, 10 Jul 2013 10:17:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwvCh-0006J3-AK for qemu-devel@nongnu.org; Wed, 10 Jul 2013 10:17:15 -0400 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Programmingkid In-Reply-To: <51DCDEC2.60100@tarl.net> Date: Wed, 10 Jul 2013 10:16:55 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1373391155.8183.196@snotra> <22AD60BC-ADE5-4BDD-BEAC-E802085D66BC@gmail.com> <51DCDEC2.60100@tarl.net> 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: Tarl Neustaedter Cc: Scott Wood , Stefan Hajnoczi , The OpenBIOS Mailinglist , "qemu-ppc@nongnu.org list:PowerPC" , qemu-devel qemu-devel On Jul 10, 2013, at 12:10 AM, Tarl Neustaedter wrote: > 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=3D= vs.85).aspx >=20 > Err, no. >=20 > 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. >=20 > In any case, about the Command/Windows/Meta key: >=20 > http://en.wikipedia.org/wiki/Command_key#On_other_keyboards >=20 > "On a keyboard made with MS Windows logo, the Windows key is mapped to = act as the Command key" This information is good to hear. Those with a Windows key on their = keyboard shouldn't have a problem using it as the command key. Those who = don't have a Windows key can use the -command-key option to set it to = any key they want.=20 The only problem I have now is how to send more than one key value at a = time to the guest OS. Any ideas would be great.=20