From 622a4c91980a8f81ec484e1092f88dba0b8c96d5 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 13 Sep 2017 12:49:23 +0100 Subject: [PATCH 4/6] ps2: enable multimedia keys RH-Author: Gerd Hoffmann Message-id: <20170913124925.17637-5-kraxel@redhat.com> Patchwork-id: 76333 O-Subject: [RHV-7.4 qemu-kvm-rhev PATCH 4/6] ps2: enable multimedia keys Bugzilla: 1482388 RH-Acked-by: Dr. David Alan Gilbert RH-Acked-by: John Snow RH-Acked-by: Miroslav Rezanina Fixes: 8c10e0baf0260b59a4e984744462a18016662e3e Signed-off-by: Gerd Hoffmann Reviewed-by: Eric Blake Message-id: 20170726152918.11995-6-kraxel@redhat.com (cherry picked from commit 0500cb1d25e69108ae1a2474412bbd255bbc34b2) Signed-off-by: Danilo C. L. de Paula --- hw/input/ps2.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hw/input/ps2.c b/hw/input/ps2.c index 1d3a440..fbf2f8b 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, -- 1.8.3.1