qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [OpenBIOS] [Qemu-devel] Mac OS X on QEMU


From: Programmingkid
Subject: Re: [Qemu-ppc] [OpenBIOS] [Qemu-devel] Mac OS X on QEMU
Date: Wed, 10 Jul 2013 10:16:55 -0400

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=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"

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. 

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. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]