From nobody Tue Oct 28 21:07:43 2025 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; dkim=fail; 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 15139582963074.785748983002122; Fri, 22 Dec 2017 07:58:16 -0800 (PST) Received: from localhost ([::1]:55487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSPi4-0005Bu-3C for importer@patchew.org; Fri, 22 Dec 2017 10:58:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eSPDG-0003Mt-Vw for qemu-devel@nongnu.org; Fri, 22 Dec 2017 10:26:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eSPDG-0001LM-6E for qemu-devel@nongnu.org; Fri, 22 Dec 2017 10:26:19 -0500 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:39555) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eSPDF-0001Kh-Ua for qemu-devel@nongnu.org; Fri, 22 Dec 2017 10:26:18 -0500 Received: by mail-lf0-x244.google.com with SMTP id m20so18783708lfi.6 for ; Fri, 22 Dec 2017 07:26:17 -0800 (PST) Received: from es.lan (dsl-tkubng22-58c1fd-134.dhcp.inet.fi. [88.193.253.134]) by smtp.gmail.com with ESMTPSA id b75sm4875793lfe.47.2017.12.22.07.26.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Dec 2017 07:26:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1TkJEzyJMm6xUXUuvExjrTMu6LpqDtX17TGEVn92/lo=; b=AWeRGlOS6Yaiss8dI+jbtIoQHder82euatOiGwE+I3C+sdEKZTFAinIxWlyNNQyM/y fcDa5/FTg7iG+THEKOGny9pCGbl74fQpfdNSzqsK02r3rSIqc4SmiE6DjFj4rYiZAvJ3 yWVafOX3h+OlVTiCOmFvZwsQm0YvCF0j0QdOMOQbN53uxlu00Hu5tdPH/iz4daEvkPWZ OE1Zf1QJ5qaBUpnUVWdW5ZFziWioFTYxJnmSd7vN8QkqRdwK3EsUoMV6yG2oGwmXzt8X xSgHSfFm6nfIsGbQdV3mI4GewxBxEfPvYF7AfiNawuhCSNLBGGLPCmhq8JRydYZk5oD9 5sHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1TkJEzyJMm6xUXUuvExjrTMu6LpqDtX17TGEVn92/lo=; b=aO8CDhnxF2kERrCRKblCx+cMubGtfYYUTmIyFoAUq/FA2B0G5RGxjsvaJiwUXdom7G t/FUecQDtHF1ymELrVPDoAW2PkbVXpwb6b1HB79XZCQom6sxDGiOhCK9EmG38WBamoKw 1g1+OSWGHYQ02L7L949UT12J90NcVKbV8j+PUgwJgI+qiiBBF+jc9LWIjHt6HRsoFNhV 1bU5cgQ70ifUblLT1fFtHlcPGWhkHZtF+K+MNrR3v6DWKrd4Fd4a37y1S9YKpQxu7ahH KoIkbKR6v37mK0Y5+aJSMuLcHGWc3Qv7ly3AGEEl3lMFaQEZtdLYX6Xn1DWmk2jr7aDs 626Q== X-Gm-Message-State: AKGB3mJ5blNMcoxFNh9dGaa/rnEoCIt+CFQg4Ph2RPv+khyCsH+aPCGT 4sfPn5Tnl5UKaUAzmbegk9a+ztm+ X-Google-Smtp-Source: ACJfBouJQr8BJlvgO+jGirn1Rg2mXn9tzTyqZpSxf6/2okTPPkony/whtlsfvaknfcJMep7hGETgAA== X-Received: by 10.46.83.9 with SMTP id h9mr9076898ljb.68.1513956376361; Fri, 22 Dec 2017 07:26:16 -0800 (PST) From: Miika S To: qemu-devel@nongnu.org Date: Fri, 22 Dec 2017 17:25:30 +0200 Message-Id: <20171222152531.1849-3-miika9764@gmail.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171222152531.1849-1-miika9764@gmail.com> References: <20171222152531.1849-1-miika9764@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::244 Subject: [Qemu-devel] [PATCH 2/3] 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 , kraxel@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Miika S --- 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 9628d289f9..2cac659469 100644 --- a/hw/input/virtio-input-hid.c +++ b/hw/input/virtio-input-hid.c @@ -154,6 +154,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.15.1