[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 3/3] input: keymap: add meta keys
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 3/3] input: keymap: add meta keys |
Date: |
Wed, 21 May 2014 14:00:15 +0200 |
Signed-off-by: Gerd Hoffmann <address@hidden>
---
ui/input-keymap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ui/input-keymap.c b/ui/input-keymap.c
index 4c4f0d0..5d29935 100644
--- a/ui/input-keymap.c
+++ b/ui/input-keymap.c
@@ -13,6 +13,8 @@ static const int qcode_to_number[] = {
[Q_KEY_CODE_CTRL] = 0x1d,
[Q_KEY_CODE_CTRL_R] = 0x9d,
+ [Q_KEY_CODE_META_L] = 0xdb,
+ [Q_KEY_CODE_META_R] = 0xdc,
[Q_KEY_CODE_MENU] = 0xdd,
[Q_KEY_CODE_ESC] = 0x01,
--
1.8.3.1