Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1675340lqp; Mon, 15 Apr 2024 13:31:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/G1p5zELSPFhlMoO7uX5vZXlYHQ8d6cG1L823HCTL+ekxfuma/DK2Tk+HoYPotNLPOacyMExXRjgp/LFwaE15bsY3B4w2XNP3J6SK6g== X-Google-Smtp-Source: AGHT+IEjJ+MC8liHp9bBUn5qOx/l08SJMwaaPaVVhHFIQPs3gKnBFfwfltnd6icgjAjCT4oQhTHa X-Received: by 2002:a05:6a20:5659:b0:1a7:34c5:d141 with SMTP id is25-20020a056a20565900b001a734c5d141mr9936382pzc.24.1713213085509; Mon, 15 Apr 2024 13:31:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713213085; cv=pass; d=google.com; s=arc-20160816; b=e8PX+/BZ5bLRC1Fy9h7ji2UbZh6atnBkpbBxVbO22uFbmeSd+ecNk00b86TNKF1XKi h4++75yUzp9Ry5xv5s6/0QchYUAPv7BeoEJZch+FN5w31Jxwtq/tfC+DHl91r1PrhlIA e07IDpfmakBhKVR/dE2m2B7mRZndF612Ccmq8Glu7CN7So1okrVqNN//EAifV4pAg4Fd +5EFUAwt72x4UFpCTKCVLffpgQWKfD4XNhaWzE6EIMnfSArwJcFUdWK7OjevSudaZlU0 oLMkbpJH1ASGjwlba4qmOgVqgDslgX37AYioqtNIGtrVbDurWkJo+SQN4wrYMPLAhIaY K/5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=xtZFpnMgm/+Xn/twFBJ7lG1+0rbINzM3+6AgqkcVRW8=; fh=rvCq5FGHalYIkDO2FY+dSCDAzl6k+wIGdA18Q58MgmA=; b=ZB+3JSTel7UWzla/NC30d+IXqJTMcmDX3HW8U9zkzzh2ypHlkdYpa3ZSHF2gmO7xjz AqGUhNwrfjGWcZue3RPBdPT12HIN0eU1QY5S/3CUEDi4xJFMqU3JSngSOEMqKPKYbq7z UIsMXwIX7yTkxbsyHsgUzB0tDN41j9qaDtnCS5hHaVHTppNjXXKncLy9vdxdJeoCXJrU /chHZlW2sPod4Epwd23bUkTS/2ownXzZfkGzCfNGZmcAAMdZWWvVjo/TN+ZqXJipxVgc wK2lj0+J1NxiPCcdlGo2LVz1+L7hu1mLdZn89BGYGy4OFKk0Rxd1F5Ful2soUSXIVKix Nqmg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@squebb.ca header.s=fm3 header.b=kHByMwUC; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=IueU6UZA; arc=pass (i=1 spf=pass spfdomain=squebb.ca dkim=pass dkdomain=squebb.ca dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-145872-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145872-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id x184-20020a6363c1000000b005d8bbd208desi8196460pgb.163.2024.04.15.13.31.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 13:31:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145872-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@squebb.ca header.s=fm3 header.b=kHByMwUC; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=IueU6UZA; arc=pass (i=1 spf=pass spfdomain=squebb.ca dkim=pass dkdomain=squebb.ca dkim=pass dkdomain=messagingengine.com); spf=pass (google.com: domain of linux-kernel+bounces-145872-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145872-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D9AD4B21214 for ; Mon, 15 Apr 2024 20:27:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89DEF156899; Mon, 15 Apr 2024 20:27:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=squebb.ca header.i=@squebb.ca header.b="kHByMwUC"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="IueU6UZA" Received: from fhigh4-smtp.messagingengine.com (fhigh4-smtp.messagingengine.com [103.168.172.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C998E7EEE3; Mon, 15 Apr 2024 20:27:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.155 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713212850; cv=none; b=tEUpcojWQP5HeUkMaiQobXnm+liDkPL7G6KsyrwtTMRhScm/+BbcF+AGR+DL5cFXrPVThgUh6jeTeKMGQ0P+lFMgDTV8N2aKdfwlsbyzdZIBJk6JrRmqfgVqQEUy/SYU3fqHyL+Iok13DI36rY1PG2JFcPSK1PBqQvIUo8PShQU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713212850; c=relaxed/simple; bh=mIsk5PxMpgJGxVIk8/AK0RH3ojqhs14Cpd+nHpxmtZA=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=rpBuJgfoQKhImpgnndHgG4EkAV4PVfNlKHV5Ab0J2IvAfx50dPRN5Ajwr1g2mIHys45oShUk4qvVrPQoywikfEQZ/VaBU8EWPZ4/ZWluUQ0QPZiQIgWgX0fBjfb4uD/RFYTiunsUjZNIQ247lj+WPqar/xLu0M8uVF3pmfyJHG0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=squebb.ca; spf=pass smtp.mailfrom=squebb.ca; dkim=pass (2048-bit key) header.d=squebb.ca header.i=@squebb.ca header.b=kHByMwUC; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=IueU6UZA; arc=none smtp.client-ip=103.168.172.155 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=squebb.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=squebb.ca Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfhigh.nyi.internal (Postfix) with ESMTP id C73CB1140156; Mon, 15 Apr 2024 16:27:26 -0400 (EDT) Received: from imap52 ([10.202.2.102]) by compute3.internal (MEProxy); Mon, 15 Apr 2024 16:27:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=squebb.ca; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1713212846; x=1713299246; bh=xtZFpnMgm/ +Xn/twFBJ7lG1+0rbINzM3+6AgqkcVRW8=; b=kHByMwUCnvXsVc4H9aV+eZa1Ya ZnkFc+5D9nWj/towPp62QKd8LURtw9QaamDTvbAG0SzFTXTfft2I9iw9jscCvYQ0 mDYB/RWe4UW03Y/ZjdsdVGw6pCw6d3KxNONnVp/cnWP2nwmSQZ+Ec5ErLzjYNrPw FAwUqiABu6uYJ7LEHHJnZJfLuIKSUDWHGLyFxgHzoeIvwBvhTAouete00ZEGJUWS kd0axSVUGoeFN74hKCQQI1+XqNsaCVXkZ199EiCK9ZSNcvMSoqD4WcMLCNrE7kJg zSwPT8msXuFWdZza0lJTW7rE9rEZtVpwBycasFfcHCBPQzHshTNCxcV9Ocnw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1713212846; x=1713299246; bh=xtZFpnMgm/+Xn/twFBJ7lG1+0rbI NzM3+6AgqkcVRW8=; b=IueU6UZASUdsTNtGwH+tg9mj1KLB5fZkZSsaWXS/ZpjQ WC+wfN6frmzynTJH6njRVXy8sGIpywFeUr20kFcIZOkTCgdt+2x3mckP2mQlHh4A kIizTWDqZAPXwfBoeeGgASRK04pr3tBT4W/W1EGMO54kI1KcJ4vwj4ExH23LkhBW 4ZFr11GUd48sBmx5zHKZOQj5HERXFwhl8TnRm61qKjGYLXsczgG3iV0KLnpH2jwP VtxVmr3yH69wlevHfZKmhOwn/tYd2b4dJLUxr9A1NgScfH+z4hz4jcwa0Vv3D5Z7 MBK2eFEDYz5nBHU9NFcTNf/MXtmdmXd+2OJatn9nuw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudejvddgudehtdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdfo rghrkhcurfgvrghrshhonhdfuceomhhpvggrrhhsohhnqdhlvghnohhvohesshhquhgvsg gsrdgtrgeqnecuggftrfgrthhtvghrnhepieeufeejieevteduvdekteefledtveffvedu hefffeejudefvdeijeegudegkefhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhepmhhpvggrrhhsohhnqdhlvghnohhvohesshhquhgvsggsrdgt rg X-ME-Proxy: Feedback-ID: ibe194615:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3D426C60097; Mon, 15 Apr 2024 16:27:26 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-379-gabd37849b7-fm-20240408.001-gabd37849 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <539776c5-6243-464b-99ae-5b1b1fb40e4b@app.fastmail.com> In-Reply-To: References: <20240324210817.192033-2-mpearson-lenovo@squebb.ca> <92ee5cb2-565e-413c-b968-81393a9211c4@app.fastmail.com> <91593303-4a6a-49c9-87a0-bb6f72f512a1@app.fastmail.com> <484638e2-1565-454b-97f8-4fcc6514a69c@redhat.com> Date: Mon, 15 Apr 2024 16:28:19 -0400 From: "Mark Pearson" To: "Dmitry Torokhov" , "Hans de Goede" Cc: "Peter Hutterer" , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , "Henrique de Moraes Holschuh" , ibm-acpi-devel@lists.sourceforge.net, "platform-driver-x86@vger.kernel.org" , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, "Nitin Joshi1" , "Vishnu Sankar" Subject: Re: [PATCH 1/4] Input: Add trackpoint doubletap and system debug info keycodes Content-Type: text/plain Hi On Mon, Apr 15, 2024, at 3:58 PM, Dmitry Torokhov wrote: > On Mon, Apr 15, 2024 at 09:50:37PM +0200, Hans de Goede wrote: >> Hi, >> >> On 4/15/24 9:40 PM, Dmitry Torokhov wrote: >> > On Wed, Apr 10, 2024 at 10:48:10PM -0400, Mark Pearson wrote: >> >> >> >> I have a stronger preference to keep the KEY_DOUBLECLICK - that one seems less controversial as a genuine new input event. >> > >> > Please see my response to Peter's letter. I think it very much depends >> > on how it will be used (associated with the pointer or standalone as it >> > is now). >> > >> > For standalone application, recalling your statement that on Win you >> > have this gesture invoke configuration utility I would argue for >> > KEY_CONFIG for it. >> >> KEY_CONFIG is already generated by Fn + F# on some ThinkPads to launch >> the GNOME/KDE control center/panel and I believe that at least GNOME >> comes with a default binding to map KEY_CONFIG to the control-center. > > Not KEY_CONTROLPANEL? > > Are there devices that use both Fn+# and the doubleclick? Would it be an > acceptable behavior for the users to have them behave the same? > Catching up with the thread, thanks for all the comments. For FN+N (originally KEY_DEBUG_SYS_INFO) the proposal was to now use KEY_VENDOR there. My conclusion was that this is targeting vendor specific functionality, and that was the closest fit, if a new keycode was not preferred. For the doubletap (which is a unique input event - not related to the pointer) I would like to keep it as a new unique event. I think it's most likely use would be for control panel, but I don't think it should be limited to that. I can see it being useful if users are able to reconfigure it to launch something different (browser or music player maybe?), hence it would be best if it did not conflict with an existing keycode function. I also can't confirm it doesn't clash on existing or future systems - it's possible. FWIW - I wouldn't be surprised with some of the new gaming systems we're seeing (Steamdeck, Legion-Go, etc), that a doubletap event on a joystick might be useful to have, if the HW supports it? Mark