From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DF36C433ED for ; Thu, 13 May 2021 06:12:49 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7C54360241 for ; Thu, 13 May 2021 06:12:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7C54360241 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:56400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lh4aV-0007Uy-7w for qemu-devel@archiver.kernel.org; Thu, 13 May 2021 02:12:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh4Zd-0006ii-Lx; Thu, 13 May 2021 02:11:53 -0400 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]:43593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lh4Zc-0007ai-5e; Thu, 13 May 2021 02:11:53 -0400 Received: by mail-ed1-x533.google.com with SMTP id s6so29678045edu.10; Wed, 12 May 2021 23:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=YeYrCRqXI8zMLb1ULg0TwMpV+gm7WgDzm4xxyHMWg9E=; b=PbrIhwjJ5Dps2g0WBHCfl65/pluLORF/skYhkbpl4fWWInXnmHRoHEtMFnPy5JNY25 mRwon/nOeGlzJyfpRB8h34McVbjbCiEFE3Ze87VRTWrhaBkOmfbezq2PVFC9KV3FUov0 Iht+3U/NoW6zA7RcnQBK4wNVmsjPpC6qNezwwy3ohZyTGIXEN8z8wg0/WZ3DR+80rmMa /Vo4TUsQyvZdqR32UglezeQq+uIr6dV8LOPXvqqF3g/4znCi4iCvjHFJME5/6oxGsFQr RxYrGyz4cTd38+blY0PFQdESAtsJraizh5ysJHK3+obAio3baOlwlk5Z5IMi6WmtuKGw DzUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=YeYrCRqXI8zMLb1ULg0TwMpV+gm7WgDzm4xxyHMWg9E=; b=jwEV/UMCf07m6q8M7bAsls28MZad95Biq913RBG83dDZ4LR+/qk81uORE85FDckwBU zGUVmcu2y4ifQMF6aQW+73psLNuZ8fSUd+RAH25xuMpwG9GK6q+E9XeQq6fykgVYF+9N vtsSiKfMUbIA8WrhPUUbdajMaPeqFQ4z3UyV5VB8v/Hmc/twHspCDmhtzSP8sP4oDtFN z48Ph50fm1FEeVFkNqzERZEXsL5+lNzHpYUwTgGh4CaBTbMCSmbdstF3bn7UX+87IaHi Yox+WFMCwmPH+xN6CB8HOnSv454hqzAFKrNh5+aTu/GW1hxUprCXNkYEZK7C3s58iGa+ PcIQ== X-Gm-Message-State: AOAM533VCc9GWgY8gR3iMjXyAFM1+vPH64FLaM5QRtVu/Et8jrG4U66W t2DMBnzHxKJjuaQlzlIyXA+lKAeWEhzZx5oTRHwOlAg9 X-Google-Smtp-Source: ABdhPJxLlG3S8mhV0wLuJWC043CoFLE32fj8ilqs5pJRAB7YKZW+e1VgRP1SBww1wY1wrURvw/GYlQ2huIdq3s0ku6w= X-Received: by 2002:a05:6402:270b:: with SMTP id y11mr47877738edd.332.1620886308776; Wed, 12 May 2021 23:11:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Katsuhiro Ueno Date: Thu, 13 May 2021 15:11:32 +0900 Message-ID: Subject: Re: [PATCH] hw/input/hid: Add support for keys of jp106 keyboard. To: qemu-devel@nongnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=katsuu@gmail.com; helo=mail-ed1-x533.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: qemu-trivial@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Ping. 2021-04-27 11:02 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 > --- > 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 e1d2e46083..8aab0521f4 100644 > --- a/hw/input/hid.c > +++ b/hw/input/hid.c > @@ -51,8 +51,8 @@ static const uint8_t hid_usage_keys[0x100] = { > 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, > > 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, > -- > 2.24.3 (Apple Git-128)