From nobody Tue Feb 10 11:34:38 2026 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1622211837; cv=none; d=zohomail.com; s=zohoarc; b=SEiKe0ni7XQsfa6t87G3GYiRIuAPD88o1Zn5DwFF4zClw8tPRzIDFRLVyZYQ5J55g+dqlXK9C9FO1kR1o1OvqAWH99IhVgA9aT5bn00LFRtJnaDN6wEM/9Ezdy34DNG+AUYbtfm0KzW6Kxs9M3VMSgtVskAgayuBm427fRbdC8w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1622211837; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=CJJnb/9LohL+6En9kA/oSnMYQrdF0TbGdKM6ZAV+UBM=; b=Sm0UoVjkcLhXO2uJYxniYuYOdH1XMBjD+vBqkDW63iXu/kXWQDTZzhfIKKGAdvgI2Inv38rm+8yNmVX6727ULWI3Dfatcg6e9lacGBiCD2IodUgpIxJyMyhbMBC4O3FCnzQvumJSWLy0MqPxyJvtwiOAONTKw8CaeJ4ZtraI8po= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1622211837082583.0402879114862; Fri, 28 May 2021 07:23:57 -0700 (PDT) Received: from localhost ([::1]:37404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmdP0-0005Gb-Ll for importer2@patchew.org; Fri, 28 May 2021 10:23:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmdNO-0003qt-KE for qemu-devel@nongnu.org; Fri, 28 May 2021 10:22:14 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:33124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmdNL-0001nI-JR for qemu-devel@nongnu.org; Fri, 28 May 2021 10:22:14 -0400 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-509-Y5mQ-EVaMdiKB6QFdtlytg-1; Fri, 28 May 2021 10:22:08 -0400 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5A120425D1; Fri, 28 May 2021 14:22:07 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-112-84.ams2.redhat.com [10.36.112.84]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 202F0E16F; Fri, 28 May 2021 14:22:04 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id B79EB18003AF; Fri, 28 May 2021 16:22:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622211730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CJJnb/9LohL+6En9kA/oSnMYQrdF0TbGdKM6ZAV+UBM=; b=EXycgrE0JaDJFxbj6Xa2kJBm4yO6HGJK9hNdOZ+td3QDayI1kZo+Al69xyHVogyVV1j4EK S82Ad4CAckI/RBSfqdx6qtY1bnSzyf5AlJCAImSW6+C2xe2WpCmWYXJr07PzYuercYPVAb 7yoglg+TvM0XOYim6rcHJT5Ux/PnslY= X-MC-Unique: Y5mQ-EVaMdiKB6QFdtlytg-1 From: Gerd Hoffmann To: qemu-devel@nongnu.org Subject: [PULL 1/3] hw/input/hid: Add support for keys of jp106 keyboard. Date: Fri, 28 May 2021 16:22:00 +0200 Message-Id: <20210528142202.2154592-2-kraxel@redhat.com> In-Reply-To: <20210528142202.2154592-1-kraxel@redhat.com> References: <20210528142202.2154592-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=kraxel@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=216.205.24.124; envelope-from=kraxel@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -31 X-Spam_score: -3.2 X-Spam_bar: --- X-Spam_report: (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.374, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gerd Hoffmann , Katsuhiro Ueno Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" From: Katsuhiro Ueno Add support for the following keys: KATAKANAHIRAGANA, HENKAN, MUHENKAN, RO, and YEN. Before this commit, these keys did not work as expected when a jp106 keyboard was connected to the guest as a usb-kbd device. Signed-off-by: Katsuhiro Ueno Message-Id: Signed-off-by: Gerd Hoffmann --- hw/input/hid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/input/hid.c b/hw/input/hid.c index e1d2e4608374..8aab0521f405 100644 --- a/hw/input/hid.c +++ b/hw/input/hid.c @@ -51,8 +51,8 @@ static const uint8_t hid_usage_keys[0x100] =3D { 0x45, 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0xe8, 0xe9, 0x71, 0x72, 0x73, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x85, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, 0x00, 0xe3, 0xe7, 0x65, + 0x88, 0x00, 0x00, 0x87, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x8a, 0x00, 0x8b, 0x00, 0x89, 0xe7, 0x65, =20 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, --=20 2.31.1