Received: from eggs.gnu.org ([2001:4830:134:3::10]:51664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlBvn-0007jf-6V for qemu-devel@nongnu.org; Fri, 16 May 2014 02:47:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlBvg-00033L-Jg for qemu-devel@nongnu.org; Fri, 16 May 2014 02:47:47 -0400 Received: from mx1.redhat.com ([209.132.183.28]:29647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlBvg-00032W-CN for qemu-devel@nongnu.org; Fri, 16 May 2014 02:47:40 -0400 From: Gerd Hoffmann Date: Fri, 16 May 2014 08:47:29 +0200 Message-Id: <1400222851-6725-9-git-send-email-kraxel@redhat.com> In-Reply-To: <1400222851-6725-1-git-send-email-kraxel@redhat.com> References: <1400222851-6725-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 08/10] input: remove sparc keymap hack List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann , Anthony Liguori With sparc keyboard going directly from QKeyValue to sparc keycodes this should not be needed any more. Signed-off-by: Gerd Hoffmann --- ui/input-keymap.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/ui/input-keymap.c b/ui/input-keymap.c index 67a3ea7..6da4495 100644 --- a/ui/input-keymap.c +++ b/ui/input-keymap.c @@ -126,25 +126,6 @@ static const int qcode_to_number[] = { [Q_KEY_CODE_INSERT] = 0xd2, [Q_KEY_CODE_DELETE] = 0xd3, -#ifdef NEED_CPU_H -#if defined(TARGET_SPARC) && !defined(TARGET_SPARC64) - [Q_KEY_CODE_STOP] = 0xf0, - [Q_KEY_CODE_AGAIN] = 0xf1, - [Q_KEY_CODE_PROPS] = 0xf2, - [Q_KEY_CODE_UNDO] = 0xf3, - [Q_KEY_CODE_FRONT] = 0xf4, - [Q_KEY_CODE_COPY] = 0xf5, - [Q_KEY_CODE_OPEN] = 0xf6, - [Q_KEY_CODE_PASTE] = 0xf7, - [Q_KEY_CODE_FIND] = 0xf8, - [Q_KEY_CODE_CUT] = 0xf9, - [Q_KEY_CODE_LF] = 0xfa, - [Q_KEY_CODE_HELP] = 0xfb, - [Q_KEY_CODE_META_L] = 0xfc, - [Q_KEY_CODE_META_R] = 0xfd, - [Q_KEY_CODE_COMPOSE] = 0xfe, -#endif -#endif [Q_KEY_CODE_MAX] = 0, }; -- 1.8.3.1