[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 5/7] ps2: enable multimedia keys
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PULL 5/7] ps2: enable multimedia keys |
Date: |
Thu, 27 Jul 2017 16:00:23 +0200 |
Fixes: 8c10e0baf0260b59a4e984744462a18016662e3e
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Message-id: address@hidden
---
hw/input/ps2.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/hw/input/ps2.c b/hw/input/ps2.c
index 3ba05efd06..25ae7fc852 100644
--- a/hw/input/ps2.c
+++ b/hw/input/ps2.c
@@ -224,7 +224,6 @@ static const uint16_t
qcode_to_keycode_set1[Q_KEY_CODE__MAX] = {
[Q_KEY_CODE_DOT] = 0x34,
[Q_KEY_CODE_SLASH] = 0x35,
-#if 0
[Q_KEY_CODE_POWER] = 0x0e5e,
[Q_KEY_CODE_SLEEP] = 0x0e5f,
[Q_KEY_CODE_WAKE] = 0x0e63,
@@ -247,7 +246,6 @@ static const uint16_t
qcode_to_keycode_set1[Q_KEY_CODE__MAX] = {
[Q_KEY_CODE_AC_STOP] = 0xe068,
[Q_KEY_CODE_AC_REFRESH] = 0xe067,
[Q_KEY_CODE_AC_BOOKMARKS] = 0xe066,
-#endif
[Q_KEY_CODE_ASTERISK] = 0x37,
[Q_KEY_CODE_LESS] = 0x56,
@@ -366,7 +364,6 @@ static const uint16_t
qcode_to_keycode_set2[Q_KEY_CODE__MAX] = {
[Q_KEY_CODE_DOT] = 0x49,
[Q_KEY_CODE_SLASH] = 0x4a,
-#if 0
[Q_KEY_CODE_POWER] = 0x0e37,
[Q_KEY_CODE_SLEEP] = 0x0e3f,
[Q_KEY_CODE_WAKE] = 0x0e5e,
@@ -389,7 +386,6 @@ static const uint16_t
qcode_to_keycode_set2[Q_KEY_CODE__MAX] = {
[Q_KEY_CODE_AC_STOP] = 0xe028,
[Q_KEY_CODE_AC_REFRESH] = 0xe020,
[Q_KEY_CODE_AC_BOOKMARKS] = 0xe018,
-#endif
[Q_KEY_CODE_ALTGR] = 0x08,
[Q_KEY_CODE_ALTGR_R] = 0xe008,
--
2.9.3
- [Qemu-devel] [PULL 0/7] Ui 20170727 patches, Gerd Hoffmann, 2017/07/27
- [Qemu-devel] [PULL 2/7] ui: move qemu_input_linux_to_qcode(), Gerd Hoffmann, 2017/07/27
- [Qemu-devel] [PULL 5/7] ps2: enable multimedia keys,
Gerd Hoffmann <=
- [Qemu-devel] [PULL 1/7] ui: add next and prior keysyms, Gerd Hoffmann, 2017/07/27
- [Qemu-devel] [PULL 3/7] ui: update keymaps, Gerd Hoffmann, 2017/07/27
- [Qemu-devel] [PULL 7/7] ps2: fix sending of PAUSE/BREAK scancodes, Gerd Hoffmann, 2017/07/27
- [Qemu-devel] [PULL 6/7] ui: drop altgr and altgr_r QKeyCodes, Gerd Hoffmann, 2017/07/27
- [Qemu-devel] [PULL 4/7] ui: add multimedia keys, Gerd Hoffmann, 2017/07/27