[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys |
Date: |
Wed, 02 Mar 2016 17:12:59 +0100 |
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 <address@hidden>
>
> ---
> 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
- [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys, Programmingkid, 2016/03/02
- Re: [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys,
Gerd Hoffmann <=
- Re: [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys, Programmingkid, 2016/03/02
- Re: [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys, Gerd Hoffmann, 2016/03/03
- Re: [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys, Programmingkid, 2016/03/03
- Re: [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys, Gerd Hoffmann, 2016/03/03
- Re: [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys, Programmingkid, 2016/03/03
- Re: [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys, Peter Maydell, 2016/03/03
Re: [Qemu-devel] [PATCH] input-keymap.c: Add keypad equal and power keys, Eric Blake, 2016/03/02