Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp135713imu; Mon, 26 Nov 2018 18:18:28 -0800 (PST) X-Google-Smtp-Source: AJdET5eRLLZBbApzNdVh+EyQR6h34AE0cpLhzK4Q3L9BLe0Fq3a/B9/YbNgccAPpBODWbc073ppz X-Received: by 2002:a62:32c4:: with SMTP id y187-v6mr30992234pfy.4.1543285108449; Mon, 26 Nov 2018 18:18:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543285108; cv=none; d=google.com; s=arc-20160816; b=DNzRxxamFuldpsN610nCKfA198KTdSL/ZKXoequv7GwM2F+yIpWGv2iBeVTSkMJzGM acyr4bWfyBYq5KfRMJddIs5k290d+HA8/nobRL587momvZbPWzfrWep1vTbYTl0W1Sg5 Ox/Y373eoOEX5ud3HrSwB5EBg35V7TycJRqmy96qxRQeZc4fdnRkHv8ge0ijuwyJYWiA r5v1fS7zP4T+EH5U9MjS96IKk3xiA0Eid46FnaPoHZesefaVg0HxPMSDuhBNfmBRnvwz LA5UowMw2KbGbzu0cgMf1T1okclp+o0VKNUAJvmH8vUq2eP7j2ZWiWY1oin/9tnzlaTc H9dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=fKfX2QOlMx5VMoGw7J6PhvPcTQZgsXz/YbdHYaAMbko=; b=WLMYlvzQpup54BPAcWgV6ethmjMGpnlzP+6WSOscIqYFlVBF0yRwNUoQNAdhzAmDv3 D0tdW6Ynwq+SUjyenzgrESJ0jESZob4grPO1hNMrPi49pjdIcLM3WBhmMRQBguJahyME ii4EszpJ+Y/hRfDA6TeVA7nnFwm/JQ9fJD+3demMicG6CvEzwq16Ymrzfgcv0XnPQ3p7 HjGS99emx6KbdtmazCyEBhDbbqPKpudILs2FJLnVjvHnmLmDTQFTk55jkfn4BlI34s6c 6pRcSd9k1BzrKXtiXXJlDPXE47U/cuD0QZSH5GU9KXxoDKcGdgSlY5+fQbe9iozfAxQB s5Bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WEKlRrRD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k20si2377251pfb.215.2018.11.26.18.18.12; Mon, 26 Nov 2018 18:18:28 -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=@chromium.org header.s=google header.b=WEKlRrRD; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728183AbeK0NNp (ORCPT + 99 others); Tue, 27 Nov 2018 08:13:45 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:40440 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727741AbeK0NNp (ORCPT ); Tue, 27 Nov 2018 08:13:45 -0500 Received: by mail-ed1-f67.google.com with SMTP id d3so17636959edx.7 for ; Mon, 26 Nov 2018 18:17:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fKfX2QOlMx5VMoGw7J6PhvPcTQZgsXz/YbdHYaAMbko=; b=WEKlRrRDUgb9pX5oOLalZDUjKhhU23zpeeOMRlrwdJQyNji10myDKQ1eoZ7UZWuQ/A JGIyycL/FKiJBe5EYJaK/kMo/wH9vK9shVALFPCOwrW4nxZ8Y/WaEjloDAeTm3dZVIH+ XkQoaLw57QASaYbNm2vRnYjHA8I3OKEvDXJ4o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fKfX2QOlMx5VMoGw7J6PhvPcTQZgsXz/YbdHYaAMbko=; b=ZqnhWGIPxDKUKmIexBRRGQk0Hhzq2kcmo+KdVVSMOBMlJXy4TPMP3p25gBKj7lU5vd 9ilXUglWoSeYutgUzY8wl0QHNEzwOBfPg0xfAb8WhIk+4bETteW/7Dy9flVM7i7dCqTx hPtJOa5na0pmzRct5T1LMrm1T0wZcacULJgl5G/buJjemvZNwQcjXWTrR77ktsNV46n4 1dTLj/+tAtIUOujzynqL8hgbnPmXOf6T7+bfnjtLNpjr3IRYdXiyDRBRzFZ8I7g1JTSQ pe7fNPN076UWXXBUcl6y5krV0hXlUJ6fvx8XvNpYe32cTqEmgCzulyJYcN2kMtb4mROa 6zLw== X-Gm-Message-State: AA+aEWYxd8netWlwFtG98CMOA0dhwdAx93i0shsOnUpbfrtDgSv/4LcJ uifQJtcC8kDAbfwiR+Xhlxg4yoEWdBo= X-Received: by 2002:a50:f284:: with SMTP id f4mr24875738edm.77.1543285049006; Mon, 26 Nov 2018 18:17:29 -0800 (PST) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com. [209.85.221.41]) by smtp.gmail.com with ESMTPSA id b14sm572130edt.6.2018.11.26.18.17.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Nov 2018 18:17:27 -0800 (PST) Received: by mail-wr1-f41.google.com with SMTP id r10so20977846wrs.10 for ; Mon, 26 Nov 2018 18:17:27 -0800 (PST) X-Received: by 2002:adf:dc4e:: with SMTP id m14mr12602680wrj.107.1543285047147; Mon, 26 Nov 2018 18:17:27 -0800 (PST) MIME-Version: 1.0 References: <20181122063409.15816-1-peter.hutterer@who-t.net> <20181122063409.15816-5-peter.hutterer@who-t.net> <20181122232839.GA10747@jelly> In-Reply-To: <20181122232839.GA10747@jelly> From: Harry Cutts Date: Mon, 26 Nov 2018 18:17:15 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/8] HID: input: use the Resolution Multiplier for high-resolution scrolling To: Peter Hutterer Cc: linux-input@vger.kernel.org, Dmitry Torokhov , jikos@kernel.org, torvalds@linux-foundation.org, Nestor Lopez Casado , linux-kernel@vger.kernel.org, benjamin.tissoires@redhat.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Nov 2018 at 15:28, Peter Hutterer wrote: > The choices we have now are: > - use 1200 or 12000 internally and divide by 10 before sending the > final value > - just make the evdev API use 1200 or 12000 and let userspace deal with it. > much simpler. > > Any suggestions/comments? The second option seems cleaner to me, as then we don't have multiple representations of the scroll amount to get mixed up. Harry Cutts Chrome OS Touch/Input team