From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dajLE-0003F1-4Q for qemu-devel@nongnu.org; Thu, 27 Jul 2017 10:00:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dajLD-0001rQ-Ed for qemu-devel@nongnu.org; Thu, 27 Jul 2017 10:00:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35282) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dajLD-0001oq-6U for qemu-devel@nongnu.org; Thu, 27 Jul 2017 10:00:39 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B1B2A322D7A for ; Thu, 27 Jul 2017 14:00:35 +0000 (UTC) From: Gerd Hoffmann Date: Thu, 27 Jul 2017 16:00:23 +0200 Message-Id: <20170727140025.392-6-kraxel@redhat.com> In-Reply-To: <20170727140025.392-1-kraxel@redhat.com> References: <20170727140025.392-1-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 5/7] ps2: enable multimedia keys List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann Fixes: 8c10e0baf0260b59a4e984744462a18016662e3e Signed-off-by: Gerd Hoffmann Reviewed-by: Eric Blake Message-id: 20170726152918.11995-6-kraxel@redhat.com --- 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