From: Eric Blake <eblake@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>,
Programmingkid <programmingkidx@gmail.com>
Cc: qemu-devel qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] MacKeys.h: initial commit
Date: Tue, 1 Mar 2016 16:19:32 -0700 [thread overview]
Message-ID: <56D62384.5060903@redhat.com> (raw)
In-Reply-To: <CAFEAcA-P29ohZsqdk=o=gc0RCwqm9q+1x=esLY+kDtMFryQnQg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1403 bytes --]
On 03/01/2016 04:08 PM, Peter Maydell wrote:
> On 1 March 2016 at 22:07, Programmingkid <programmingkidx@gmail.com> wrote:
>> This patch adds the file MacKeys.h. It is a file that contains all the constants
>> for the Macintosh keyboard keycodes.
>>
>> Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
>>
>> ---
>> Note to Peter Maydell:
>> I know you wanted me to use the constants from the file HIToolbox/Events.h, but
>> I can't. It only exists on Mac OS X, so other operating systems like Linux
>> would not be able to use it. This file is also used in the adb.c file, so
>> cross-platform compatibility is a must.
>
> What I suggested was that you should use the Events.h constants in
> ui/cocoa.m (which is OSX only) and have a file in include/hw/input/
> for the keys for the ADB keyboard emulation.
>
> This patch should really be in a patch series with the patches that
> use the new header.
>
>> include/hw/input/MacKeys.h | 139 ++++++++++++++++++++++++++++++++++++++++++++
>> 1 files changed, 139 insertions(+), 0 deletions(-)
>> create mode 100644 include/hw/input/MacKeys.h
Can we please use lower-case naming of mac-keys.h? Just because Mac
headers use Capital Names doesn't mean we have to break our internal
conventions to follow.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
prev parent reply other threads:[~2016-03-01 23:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-01 22:07 [Qemu-devel] [PATCH] MacKeys.h: initial commit Programmingkid
2016-03-01 23:08 ` Peter Maydell
2016-03-01 23:19 ` Eric Blake [this message]
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=56D62384.5060903@redhat.com \
--to=eblake@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=programmingkidx@gmail.com \
--cc=qemu-devel@nongnu.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.