From patchwork Thu Feb 4 19:03:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Serpell X-Patchwork-Id: 8231041 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id CFA7EBEEE5 for ; Fri, 5 Feb 2016 03:18:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0ECB120357 for ; Fri, 5 Feb 2016 03:18:33 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F66820306 for ; Fri, 5 Feb 2016 03:18:32 +0000 (UTC) Received: from localhost ([::1]:45660 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRWul-0000Oi-Fs for patchwork-qemu-devel@patchwork.kernel.org; Thu, 04 Feb 2016 22:18:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55389) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRPCG-0001Xu-MJ for qemu-devel@nongnu.org; Thu, 04 Feb 2016 14:04:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRPCD-0005g7-EY for qemu-devel@nongnu.org; Thu, 04 Feb 2016 14:04:04 -0500 Received: from mail-qg0-x22c.google.com ([2607:f8b0:400d:c04::22c]:33973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRPCD-0005g2-A5; Thu, 04 Feb 2016 14:04:01 -0500 Received: by mail-qg0-x22c.google.com with SMTP id u30so49729612qge.1; Thu, 04 Feb 2016 11:04:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1PvTU9HwvajqWM05WevGdlLG9j4sXx1iyBPLBx+L92g=; b=jiREB2nLpuSAPFz5fJVQDhGtFOSxnONgvA1SusJuOoM3/MsyqHoBHSMrk4WllS17t+ PhFOdniyGT4d+cgS3tKUt4ccJ5owUbwaj7QihQwfL/kvYFV/V7ZeGXN8jigGxvzT6jnT 1+tTGjYvkx6GS3HkHWuI/xGCevgCNRB08z7Nj1N6zeHIUbsM+jSKLQeuOuwnSxOwDIQ5 0KjJYVfc4sZd8tua0EfNYTwSlQiyLeFiPDHy4FT+tF9JX5zo9N6LqC8IjnrvrLiCtJJ1 S8rw2+XOzU7ltTcT3k/hDIsn2irWCqBJLXdqSc2N+McTLzYFHlzGIwgTs13cHG0Y0uIW TUow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1PvTU9HwvajqWM05WevGdlLG9j4sXx1iyBPLBx+L92g=; b=NL1PWDxMwnMdQVwAz/fJ/zVroy8uXOO8V8IRzQh0dhTJAzkQISlsUtUvN0uT/f1tQa EqvemLrKHiz6ZXX8t/aYZ5IK5TPaWMW8xMKivuln9Dv4XypdHxz+W20gvpsFnb737WEY g+tyqOHeTxdIYngJZxITEcLXYOktCJheqCos+MrzoRZ+RJ15l2bDXYbuYVGL9VaHP3/M fh8AAdxL2P00xjYaPRIDbZMcByFiPQz/ERvDzL4rUsYJRagCxj8mqotZDftuI+zVw1pM HspXj5Emxw/0Lg4WlRdprNKmgs3qXCaShuEuE3flC3B/CRhhqoVv+feo+OF3coiAh4+2 aigw== X-Gm-Message-State: AG10YOSAM99AiVS6uaD90vmq5Unch0naIz072FojzY7oDgQ5Rak5TlV1ELWppp1pSm+lEA== X-Received: by 10.140.138.71 with SMTP id 68mr12117656qhk.8.1454612640821; Thu, 04 Feb 2016 11:04:00 -0800 (PST) Received: from pcdaniel.aplik (pc-203-22-241-201.cm.vtr.net. [201.241.22.203]) by smtp.gmail.com with ESMTPSA id x76sm5821827qhb.19.2016.02.04.11.03.58 (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 04 Feb 2016 11:04:00 -0800 (PST) Received: by pcdaniel.aplik (sSMTP sendmail emulation); Thu, 04 Feb 2016 16:04:30 -0300 From: Daniel Serpell To: qemu-devel@nongnu.org Date: Thu, 4 Feb 2016 16:03:40 -0300 Message-Id: <1454612620-7819-2-git-send-email-daniel.serpell@gmail.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1454612620-7819-1-git-send-email-daniel.serpell@gmail.com> References: <1454612620-7819-1-git-send-email-daniel.serpell@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c04::22c X-Mailman-Approved-At: Thu, 04 Feb 2016 22:17:01 -0500 Cc: qemu-trivial@nongnu.org, Daniel Serpell Subject: [Qemu-devel] [PATCH] Adds keycode 86 to the hid_usage_keys translation table. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This key is present in international keyboards, between left shift and the 'Z' key, ant is described in the HID usage tables as "Keyboard Non-US \ and |": http://www.usb.org/developers/hidpage/Hut1_12v2.pdf This patch fixes the usb-kbd devices. Signed-off-by: Daniel Serpell Reviewed-by: Gerd Hoffmann --- hw/input/hid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/input/hid.c b/hw/input/hid.c index a11e2bc..b41efbb 100644 --- a/hw/input/hid.c +++ b/hw/input/hid.c @@ -45,7 +45,7 @@ static const uint8_t hid_usage_keys[0x100] = { 0xe2, 0x2c, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f, 0x40, 0x41, 0x42, 0x43, 0x53, 0x47, 0x5f, 0x60, 0x61, 0x56, 0x5c, 0x5d, 0x5e, 0x57, 0x59, - 0x5a, 0x5b, 0x62, 0x63, 0x00, 0x00, 0x00, 0x44, + 0x5a, 0x5b, 0x62, 0x63, 0x00, 0x00, 0x64, 0x44, 0x45, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0xe8, 0xe9, 0x71, 0x72, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x00, 0x00, 0x00, 0x00,