From patchwork Thu Aug 23 18:30:54 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harry Cutts X-Patchwork-Id: 10574521 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 33EBC13B8 for ; Thu, 23 Aug 2018 18:31:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2084B2C3B9 for ; Thu, 23 Aug 2018 18:31:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14BFC2C449; Thu, 23 Aug 2018 18:31:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4DE62C3B9 for ; Thu, 23 Aug 2018 18:31:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726780AbeHWWCN (ORCPT ); Thu, 23 Aug 2018 18:02:13 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:43156 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727419AbeHWWCH (ORCPT ); Thu, 23 Aug 2018 18:02:07 -0400 Received: by mail-pg1-f196.google.com with SMTP id v66-v6so3042396pgb.10 for ; Thu, 23 Aug 2018 11:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3369VEYSstVH4+PoGpIQpAG6rFkOt9VHBqkwbcndrHw=; b=IySI7V8LRhdZPqzlPAlFvIRQkfWeBSt8LB6cjNZxpZKg/aK93x5STVjxml2Is5yurt nPQMmaN1p4OXLZZHVoozeBTl4ynnAc+LnRwxVOxUaopqwJEbhh9jOoxq78EU+TXf28KT HIgHdoGXqkv4QeymrEICa7mDp2BH19x/wXu60= 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:mime-version :content-transfer-encoding; bh=3369VEYSstVH4+PoGpIQpAG6rFkOt9VHBqkwbcndrHw=; b=Sfw2OvbUDlfrjErNOxagdyKXWomkV4bnInRoyPlMurnihURsiz3pRp8lMRRk52uAEQ fY3S5E3UTqgQKVelZsav4RtEK9itpzCJMf16Lnk4RqOGUlhiIg1NVR7J+4NHls0MWrty W3KG7SbL6iTKVnqMRXR927t6J/2xcDhUx7aET1XA6jKCJXJ550Sx9JR4DKVQ7NJKJDyR WAxf5zExJyykdMLLOxgB5F2nzbSIVH6giNnu1iaXajVBUxFeDhxn7HapGRwVeyyrUetk q8PvOfnEtOmnCsjQUJh85OL5AtYersboW8qI2usx9mmJ1uXAWokSdf0ineggIg2joHi6 tXhg== X-Gm-Message-State: AOUpUlEfgtip2xiNoHsqrmJUZBE1qULmAcTnIX6+e1u3oYXv1EwfKObF DYA/f1SNSnbrIcL06/kQphAcz+QaiqM= X-Google-Smtp-Source: AA+uWPxcS8aoUKhgD53T/OtT+P1qhXjoieaxxr9uW7gRy4av6jgCjubMwnPup30W7iYmwbRSePEt8A== X-Received: by 2002:a63:7d7:: with SMTP id 206-v6mr25951038pgh.17.1535049070673; Thu, 23 Aug 2018 11:31:10 -0700 (PDT) Received: from kolhar.mtv.corp.google.com ([2620:15c:202:201:356a:9de2:526a:5bc]) by smtp.gmail.com with ESMTPSA id p11-v6sm9054225pfj.72.2018.08.23.11.31.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Aug 2018 11:31:10 -0700 (PDT) From: Harry Cutts To: linux-input , LKML Cc: Jiri Kosina , Dmitry Torokhov , Benjamin Tissoires , Harry Cutts , linux-doc@vger.kernel.org, Jonathan Corbet , Jiri Kosina Subject: [PATCH 0/3] Add support for high-resolution scrolling on Logitech mice Date: Thu, 23 Aug 2018 11:30:54 -0700 Message-Id: <20180823183057.247630-1-hcutts@chromium.org> X-Mailer: git-send-email 2.18.0.1017.ga543ac7ca45-goog MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi everyone, This set of patches adds support for high-resolution scroll wheels on Logitech mice. See the linux-input "Reporting high-resolution scroll events" thread [0] for previous discussion of the evdev changes. I would love to hear your feedback. Thanks, Harry Cutts Chrome OS Touch/Input team [0]: https://www.spinics.net/lists/linux-input/msg57380.html Harry Cutts (3): Add the `REL_WHEEL_HI_RES` event code Create a utility class for counting scroll events Enable high-resolution scrolling on Logitech mice Documentation/input/event-codes.rst | 11 +- drivers/hid/hid-ids.h | 15 ++ drivers/hid/hid-input.c | 44 ++++ drivers/hid/hid-logitech-hidpp.c | 341 +++++++++++++++++++++++-- drivers/hid/hid-quirks.c | 11 + include/linux/hid.h | 28 ++ include/uapi/linux/input-event-codes.h | 1 + 7 files changed, 423 insertions(+), 28 deletions(-)