From nobody Tue Feb 10 05:10:35 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 (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1517221649740364.5506679766404; Mon, 29 Jan 2018 02:27:29 -0800 (PST) Received: from localhost ([::1]:55217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eg6et-00024G-8g for importer@patchew.org; Mon, 29 Jan 2018 05:27:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eg6b6-0006Pv-2j for qemu-devel@nongnu.org; Mon, 29 Jan 2018 05:23:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eg6b1-0001WO-DJ for qemu-devel@nongnu.org; Mon, 29 Jan 2018 05:23:32 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45836) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eg6b1-0001VV-71 for qemu-devel@nongnu.org; Mon, 29 Jan 2018 05:23:27 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 818B6883A2; Mon, 29 Jan 2018 10:23:26 +0000 (UTC) Received: from sirius.home.kraxel.org (ovpn-116-227.ams2.redhat.com [10.36.116.227]) by smtp.corp.redhat.com (Postfix) with ESMTP id E449B5C54C; Mon, 29 Jan 2018 10:23:20 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 242CB11ABC; Mon, 29 Jan 2018 11:23:20 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Mon, 29 Jan 2018 11:23:14 +0100 Message-Id: <20180129102320.21534-2-kraxel@redhat.com> In-Reply-To: <20180129102320.21534-1-kraxel@redhat.com> References: <20180129102320.21534-1-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Mon, 29 Jan 2018 10:23:26 +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 1/7] input: add mouse side buttons to virtio input 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: Miika S , Gerd Hoffmann , "Michael S. Tsirkin" 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" From: Miika S Signed-off-by: Miika S Message-Id: <20171222152531.1849-3-miika9764@gmail.com> Signed-off-by: Gerd Hoffmann --- hw/input/virtio-input-hid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/input/virtio-input-hid.c b/hw/input/virtio-input-hid.c index e78faec0b1..a5917c2754 100644 --- a/hw/input/virtio-input-hid.c +++ b/hw/input/virtio-input-hid.c @@ -147,6 +147,8 @@ static const unsigned int keymap_button[INPUT_BUTTON__M= AX] =3D { [INPUT_BUTTON_MIDDLE] =3D BTN_MIDDLE, [INPUT_BUTTON_WHEEL_UP] =3D BTN_GEAR_UP, [INPUT_BUTTON_WHEEL_DOWN] =3D BTN_GEAR_DOWN, + [INPUT_BUTTON_SIDE] =3D BTN_SIDE, + [INPUT_BUTTON_EXTRA] =3D BTN_EXTRA, }; =20 static const unsigned int axismap_rel[INPUT_AXIS__MAX] =3D { --=20 2.9.3