[Top][All Lists]

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

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

From: Tarl Neustaedter
Subject: Re: [Qemu-ppc] [OpenBIOS] [Qemu-devel] Mac OS X on QEMU
Date: Wed, 10 Jul 2013 00:10:42 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

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 

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:


"On a keyboard made with MS Windows logo, the Windows key is mapped to act as the Command key"

reply via email to

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