qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Tarl Neustaedter <tarl-b2@tarl.net>
To: The OpenBIOS Mailinglist <openbios@openbios.org>
Cc: Scott Wood <scottwood@freescale.com>,
	Programmingkid <programmingkidx@gmail.com>,
	"qemu-ppc@nongnu.org list:PowerPC" <qemu-ppc@nongnu.org>,
	qemu-devel qemu-devel <qemu-devel@nongnu.org>,
	Stefan Hajnoczi <stefanha@gmail.com>
Subject: Re: [Qemu-devel] [OpenBIOS] [Qemu-ppc]  Mac OS X on QEMU
Date: Wed, 10 Jul 2013 00:10:42 -0400	[thread overview]
Message-ID: <51DCDEC2.60100@tarl.net> (raw)
In-Reply-To: <22AD60BC-ADE5-4BDD-BEAC-E802085D66BC@gmail.com>

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"

  reply	other threads:[~2013-07-10  4:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <2E45432C-6960-4E72-9F28-9848DF8A709A@gmail.com>
2013-07-04 14:45 ` [Qemu-devel] [Qemu-ppc] Mac OS X on QEMU Alexander Graf
2013-07-04 14:51   ` Stefan Hajnoczi
2013-07-04 14:58     ` Programmingkid
2013-07-09 17:32       ` Scott Wood
2013-07-10  3:36         ` Programmingkid
2013-07-10  4:10           ` Tarl Neustaedter [this message]
2013-07-10 14:16             ` [Qemu-devel] [OpenBIOS] " Programmingkid
2013-07-10 19:03           ` [Qemu-devel] " Scott Wood
2013-07-10 19:54             ` Programmingkid
2013-07-10 20:17               ` Scott Wood
2013-07-10 20:55                 ` Programmingkid
2013-07-10 21:12                   ` Scott Wood
2013-07-10 23:28                   ` Anthony Liguori
2013-07-11  1:43                     ` Programmingkid
2013-07-10 22:01               ` Alexander Graf
2013-07-10 23:35                 ` Anthony Liguori
2013-07-04 14:52   ` Programmingkid

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51DCDEC2.60100@tarl.net \
    --to=tarl-b2@tarl.net \
    --cc=openbios@openbios.org \
    --cc=programmingkidx@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    --cc=scottwood@freescale.com \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).