Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8903395imu; Tue, 4 Dec 2018 16:44:59 -0800 (PST) X-Google-Smtp-Source: AFSGD/XYGyVYa80dcNNzcvD1Lh63HD/w5zc+/WiQVEfk3d5BKgwggx7JL6waf7Yl2uEAA0ztqlsR X-Received: by 2002:a63:f201:: with SMTP id v1mr17404464pgh.232.1543970699666; Tue, 04 Dec 2018 16:44:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543970699; cv=none; d=google.com; s=arc-20160816; b=H6UTlaT/avQ9ctwM3WC9s+tNqMIu1fbvz8xYLxOuMibtHE0vWY/EHRpDyJ/FWjdF4q e+fQ8DAyfK79ydl8NYquujJiSWmvKA0J7nFQNRFX9hz0w9EcVgfoXmCmuB9LvLwseDlD U0HZVZVzRj72PIJdDiGNXHgsMBT96mUpS60fvyWXMG8cXwwCsCxxqSCtcRrh3jCrd50Y Q157S/tDktziU0sIRsNZJ30Icczunkh9vi+KrfEj5/eC9GS7ymMIlFKV1aTomCJ1Zzyt SulWKgjrdi3yr+PNH5a7bl7r6eDQvzpfItfV5xsYuRaYyHnecrHUOXOaiGe5mIExMSkA t7cA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=1RXcH6ByEYfFL4kF8B/+GNvkRh57vvCTmwp2KMsJ8NM=; b=ArRnDD5nsLQz4hZXzZcPKqNVvviVMNnbynE33h+0K3OHfT0uYjxNVl9D+MbU1XKIRc z1brBnmVUHDqQD+B6tMBXDg6LS5J2mjM/THXu4RYf7QCuKio8OAb+oTSdzqFyk3p/rl9 0WgOnI+hyXPBtXARAemQ/nk7Y+o9O37QCbZmYXBC9+QcNFQZBY5H63H94fjSrwf6Z8/X +2LcIVdcoUcgpSsESg/jVsQ2IVW4gEkpeZ7gPveT6oI1WUs9OfsLxQg4sa0lmSz6N0Mw 11VlCb9KsQ+0rG19DrEXRaE9i8Alf4LgBiL2b0Mk4+E4WeeCRBjxqjlyJboOt1OFsUPx YI8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@who-t.net header.s=fm1 header.b="a/NEwgXq"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Dl0HUHNh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q7si18702442pfa.99.2018.12.04.16.44.44; Tue, 04 Dec 2018 16:44:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@who-t.net header.s=fm1 header.b="a/NEwgXq"; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=Dl0HUHNh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726538AbeLEAmv (ORCPT + 99 others); Tue, 4 Dec 2018 19:42:51 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:45811 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725904AbeLEAmv (ORCPT ); Tue, 4 Dec 2018 19:42:51 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id CB3ABF4A; Tue, 4 Dec 2018 19:42:49 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 04 Dec 2018 19:42:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=who-t.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=1RXcH6ByEYfFL4kF8B/+GNvkRh 57vvCTmwp2KMsJ8NM=; b=a/NEwgXqSa1zx6Y1sW+FNnLko3TvNxCa/VJ1QivWEA 33qu2OJ7rs/wzPszt8/lIiQfTMmeKgKocvHGxk4ihnMJP6fV6bIDFnleAHn1VXIS Y32FjsCcsHLJtSPsJlv+bnDOe0tscsMCVBuYHwL986Yqd0WxGFtRHjdEXvBs7ilm ND2oxLets94yUF/qoozQEt/8BSiGWh6rOB3xj/Hzn9FE71Bci32GgpraA40OkOla ZNgRxnUiGHJynLcfA2lrAJ43UON+6MNw2mCZolPtgiSKRH4Ad1EbJsJInsVCkuql io8837zLnhqbgbwXxA2BislHkCNlEpqbjkX3ezYYq60A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=1RXcH6ByEYfFL4kF8 B/+GNvkRh57vvCTmwp2KMsJ8NM=; b=Dl0HUHNh5f7n24UglS9MrMzTyR0UPUUnU U6MKG9FSmjqOe5ISkhKQO9MJMQa66Ir4JtFCwL/RJh5eIHwMCe+J1A+5xY/ru2Rq yDDp9HOnf94envVA7yc96K3qQdBuVE3pq1j/XtUk9GgmQd3yEYyRAdXehM4uxCkD BB7KK1uidIMxzclNdu1iWdxP1eMkOnf+AKOaGO4la73iYMdNTIqG8GfS3lINo5kj +YNYHrd//op3Dv892Q/lBECzfh8SvwxPp7YifQxrjxqaGFdTqTO3F1e6lIe/bmDP yzQrR+DlJ0fycO7lPqV2fdWnysgzvKQhceWJEPfDTuutptkYQkDUA== X-ME-Sender: X-ME-Proxy: Received: from jelly.home.gateway (167-179-166-29.a7b3a6.bne.nbn.aussiebb.net [167.179.166.29]) by mail.messagingengine.com (Postfix) with ESMTPA id 106D8E450E; Tue, 4 Dec 2018 19:42:45 -0500 (EST) From: Peter Hutterer To: linux-input@vger.kernel.org Cc: Dmitry Torokhov , Jiri Kosina , Harry Cutts , torvalds@linux-foundation.org, Nestor Lopez Casado , linux-kernel@vger.kernel.org, Benjamin Tissoires Subject: [PATCH v3 0/8] HID: MS and Logitech high-resolution scroll wheel support Date: Wed, 5 Dec 2018 10:42:20 +1000 Message-Id: <20181205004228.10714-1-peter.hutterer@who-t.net> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A full explanation of why and what is in the v1, v2 patch thread here: https://lkml.org/lkml/2018/11/22/625 v3 adds a better commit messages, m560 REL_HWHEEL_HI_RES support and a patch moved in the ordering. This is a full patch sequence because Benjamin's magic scripts struggle with singular updates ;) hid-tools patches to add the tests: https://gitlab.freedesktop.org/libevdev/hid-tools/merge_requests/12 libinput support (unmerged): https://gitlab.freedesktop.org/whot/libinput/tree/wip/hi-res-scrolling If you want to 'feel' how it works, run sudo ./builddir/libinput-debug-gui and watch the green/red scroll bars. On a device with hi-res scrolling the green bar (scroll fractions) will move smoother than the red bar (wheel clicks). Tested with: - Microsoft Comfort Optical Mouse 3000 - Microsoft Sculpt Ergonomic Mouse - Microsoft Wireless Mobile Mouse 4000 - Logitech MX Anywhere 2S And a few other mice that don't have that feature, so the testing was of limited excitement. Cheers, Peter Harry Cutts (3): HID: logitech: Add function to enable HID++ 1.0 "scrolling acceleration" HID: logitech: Enable high-resolution scrolling on Logitech mice HID: logitech: Use LDJ_DEVICE macro for existing Logitech mice Peter Hutterer (5): Input: add `REL_WHEEL_HI_RES` and `REL_HWHEEL_HI_RES` HID: core: store the collections as a basic tree HID: core: process the Resolution Multiplier HID: input: use the Resolution Multiplier for high-resolution scrolling HID: logitech-hidpp: fix typo, hiddpp to hidpp Documentation/input/event-codes.rst | 21 +++- drivers/hid/hid-core.c | 174 +++++++++++++++++++++++++++++++++ drivers/hid/hid-input.c | 108 +++++++++++++++++++- drivers/hid/hid-logitech-hidpp.c | 375 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------- include/linux/hid.h | 10 ++ include/uapi/linux/input-event-codes.h | 2 + 6 files changed, 651 insertions(+), 39 deletions(-)