From: Gerd Hoffmann <kraxel@redhat.com>
To: Programmingkid <programmingkidx@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
qemu-devel qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys
Date: Wed, 02 Mar 2016 17:12:59 +0100 [thread overview]
Message-ID: <1456935179.23994.137.camel@redhat.com> (raw)
In-Reply-To: <09EE2B64-B7B1-469B-AEE9-8250223DA109@gmail.com>
On Mi, 2016-03-02 at 10:52 -0500, Programmingkid wrote:
> Add the keypad equals and power keys to the qcode_to_number array. These keys
> are used on a Macintosh keyboard.
>
> Signed-off-by: John Arbuckle <programmingkidx@gmail.com>
>
> ---
> ui/input-keymap.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/ui/input-keymap.c b/ui/input-keymap.c
> index fd2c09d..8cffe62 100644
> --- a/ui/input-keymap.c
> +++ b/ui/input-keymap.c
> @@ -98,6 +98,7 @@ static const int qcode_to_number[] = {
> [Q_KEY_CODE_KP_ENTER] = 0x9c,
> [Q_KEY_CODE_KP_DECIMAL] = 0x53,
> [Q_KEY_CODE_SYSRQ] = 0x54,
> + [Q_KEY_CODE_KP_EQUALS] = 0x55,
Where does the 0x55 come from?
> + [Q_KEY_CODE_POWER] = 0x5e,
Same question here.
cheers,
Gerd
next prev parent reply other threads:[~2016-03-02 16:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-02 15:52 [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys Programmingkid
2016-03-02 16:12 ` Gerd Hoffmann [this message]
2016-03-02 16:29 ` Programmingkid
2016-03-03 10:01 ` Gerd Hoffmann
2016-03-03 15:15 ` Programmingkid
2016-03-03 15:49 ` Gerd Hoffmann
2016-03-03 17:55 ` Programmingkid
2016-03-03 18:06 ` Peter Maydell
2016-03-02 16:15 ` Eric Blake
2016-03-02 16:26 ` 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=1456935179.23994.137.camel@redhat.com \
--to=kraxel@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 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).