From nobody Wed Feb 11 01:26:05 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1501164340944438.61467141919024; Thu, 27 Jul 2017 07:05:40 -0700 (PDT) Received: from localhost ([::1]:43198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dajQ1-0007Jg-7H for importer@patchew.org; Thu, 27 Jul 2017 10:05:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dajLJ-0003JH-Vb 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 1dajLC-0001qc-4W for qemu-devel@nongnu.org; Thu, 27 Jul 2017 10:00:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44988) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dajLB-0001pX-TW for qemu-devel@nongnu.org; Thu, 27 Jul 2017 10:00:38 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 65785C109AAF for ; Thu, 27 Jul 2017 14:00:36 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-225.ams2.redhat.com [10.36.116.225]) by smtp.corp.redhat.com (Postfix) with ESMTP id C0B185C323; Thu, 27 Jul 2017 14:00:26 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 6FD2138E; Thu, 27 Jul 2017 16:00:25 +0200 (CEST) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 65785C109AAF Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx07.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=kraxel@redhat.com From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Thu, 27 Jul 2017 16:00:21 +0200 Message-Id: <20170727140025.392-4-kraxel@redhat.com> In-Reply-To: <20170727140025.392-1-kraxel@redhat.com> References: <20170727140025.392-1-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.31]); Thu, 27 Jul 2017 14:00:36 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL 3/7] ui: update keymaps X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gerd Hoffmann Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add recently added QKeyCodes to the keymaps. Signed-off-by: Gerd Hoffmann Reviewed-by: Eric Blake Message-id: 20170726152918.11995-4-kraxel@redhat.com --- ui/input-keymap.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ui/input-keymap.c b/ui/input-keymap.c index d4972bb364..7461e1edde 100644 --- a/ui/input-keymap.c +++ b/ui/input-keymap.c @@ -94,6 +94,9 @@ static int linux_to_qcode[KEY_CNT] =3D { [KEY_KPASTERISK] =3D Q_KEY_CODE_KP_MULTIPLY, [KEY_F11] =3D Q_KEY_CODE_F11, [KEY_F12] =3D Q_KEY_CODE_F12, + [KEY_RO] =3D Q_KEY_CODE_RO, + [KEY_HIRAGANA] =3D Q_KEY_CODE_HIRAGANA, + [KEY_HENKAN] =3D Q_KEY_CODE_HENKAN, [KEY_RIGHTCTRL] =3D Q_KEY_CODE_CTRL_R, [KEY_SYSRQ] =3D Q_KEY_CODE_SYSRQ, [KEY_RIGHTALT] =3D Q_KEY_CODE_ALT_R, @@ -107,6 +110,9 @@ static int linux_to_qcode[KEY_CNT] =3D { [KEY_PAGEDOWN] =3D Q_KEY_CODE_PGDN, [KEY_INSERT] =3D Q_KEY_CODE_INSERT, [KEY_DELETE] =3D Q_KEY_CODE_DELETE, + [KEY_POWER] =3D Q_KEY_CODE_POWER, + [KEY_KPCOMMA] =3D Q_KEY_CODE_KP_COMMA, + [KEY_YEN] =3D Q_KEY_CODE_YEN, [KEY_LEFTMETA] =3D Q_KEY_CODE_META_L, [KEY_RIGHTMETA] =3D Q_KEY_CODE_META_R, [KEY_MENU] =3D Q_KEY_CODE_MENU, @@ -242,6 +248,7 @@ static const int qcode_to_number[] =3D { [Q_KEY_CODE_RO] =3D 0x73, [Q_KEY_CODE_HIRAGANA] =3D 0x70, [Q_KEY_CODE_HENKAN] =3D 0x79, + [Q_KEY_CODE_POWER] =3D 0xde, [Q_KEY_CODE_YEN] =3D 0x7d, [Q_KEY_CODE_KP_COMMA] =3D 0x7e, =20 --=20 2.9.3