Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp197778ybh; Tue, 17 Mar 2020 21:16:08 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuyoqLXxegIrEhxoIhLzoYoXy27WobBFK7crNlFKOapGopYtcbsIhoAxsI3tU9LciFcTpuM X-Received: by 2002:a05:6808:3b3:: with SMTP id n19mr1786347oie.114.1584504968353; Tue, 17 Mar 2020 21:16:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584504968; cv=none; d=google.com; s=arc-20160816; b=TWZ2tj7jnd/j7ruVTpwYqMyrfWV8kUqbN/D/x4nEZoz+ujIANKtmW7bMl9rU+T7/lC k85b4hVqwJD1pAqcpYD6f6ZpLdYca1BKeaoiX8r5prTshH4AmcTqj9uqYlNhW3AW8AAY dHpMoHUXawTCkJvA33awM822obupo5heQBZ6cnu2jpQGDub5VUOGSSqS6gv56386V6wb e6BOsLxNKRIWcP7Pnrw74vJtm1xo+pmrZbqreux71+v/vcTKI3FHldqU7fRO2YUzLITR ITRhkK4brEINH2grINb6pyVIEcI8uRjNTbDWus/89k4GfN7aZehNhOJct7zwhIPIwmT9 d7Ig== 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=d/obraN1SGaQ6mLxyFlzIrUAecf3VT6Rwyx5YV7cbUg=; b=0gCDVyJXeGmDljvlBBh6+XIj0kyIV+1qoQqErwFheFxhEdysmh6fViFqjJ98x4NKZ7 lLMXCvgVQq/aSno/CFJdj7lY4myzG9NwyR1OJYp3idJ3tgrBZfwqPf+vXM1ZUwxxRz6Y 7fX3hvKkC0wGnayzmQ9PcW/qMDa4IrmIlPrxkpayQN6l5Tz6xTMer0dx+7pGyY/7v0em BwjL8NenY2I6Y9h9+wk+7LuEpAcbVdTJGGw2V2UK87mB7ngFJAY8O8OiaDBC53G3A2S5 XWY37BQ4FNGMccyXY1IDuKsJHRrEIxphXl7zJN7rDAmqcnbd6o88De/1w55vjwlCA0i7 Zb0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KJYSB5KQ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m193si2805356oig.77.2020.03.17.21.15.56; Tue, 17 Mar 2020 21:16:08 -0700 (PDT) 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=@google.com header.s=20161025 header.b=KJYSB5KQ; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726597AbgCREOV (ORCPT + 99 others); Wed, 18 Mar 2020 00:14:21 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:39906 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726219AbgCREOU (ORCPT ); Wed, 18 Mar 2020 00:14:20 -0400 Received: by mail-lj1-f196.google.com with SMTP id f10so25427521ljn.6 for ; Tue, 17 Mar 2020 21:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d/obraN1SGaQ6mLxyFlzIrUAecf3VT6Rwyx5YV7cbUg=; b=KJYSB5KQSCWdKk0SRfwsVmAAgs7REVyWaPtD+hkuOjXT4PTGLdjWgxveUGwelaE8Yx 5ShH2C69tW46xM2VTjlBzAwK8taV1EYJCz5mngIfq8hwIodze4WmcShdSaYUd41+QRu0 3zMV3pG3t7136f5/bGoWeEdz7sppPWCGPvxgUe9dJmoyDDXfDeuzbFUvJkEcZ+PajgxF j8n8vuvMPrOy0OhpDy51A+3+QeL2faCVBAl7RV8mUEMQRvb+TbngaE82BhP7G0oTUe0E MC/tIw7Wv5th/jpzJysIouIGvXNi/RLj42rHiaqYlt+LXplbidCWA/ohige92d3GdR5x 5Brw== 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=d/obraN1SGaQ6mLxyFlzIrUAecf3VT6Rwyx5YV7cbUg=; b=jDLRknQ2YrUDB2Lh7L6Io+zAgKCZmRUal/gOTyAhBFQ30qstCuCV9g50FEIurUrqye DgCmp98QAZ+yL9ke1OJfW6OzeA+tw9aTJHdJLOhXCTV/AcSHe+9B8ytR9TdGinO7axC7 X4g9zbNEd4rUWpp0eKtb0TCa8kZac1QP/jfdAD0e/EUsyXbgTDtWeSP0S5E5aAbNZVLh nY3B2ZCUfFs1vwyRuDWgbs/o5XIqtL1pDDL9COyTXUR/BAugMgsHdLKf4xokht1yjzlE BlxJNOfURhjB655rh26MMTGJeThVT2cepf+6jz+NcCnrP3NB0W/TSp24QnkNpEjJPwPp oR0w== X-Gm-Message-State: ANhLgQ0tM4bj4JsC9B0fT0FwyR/NlEy15Hue5cn7SPG6LY/CYI/uOv9E +51QUSsGwcfI3jYSi6wiDxbtuYAAhS58ibgFP6VOCw== X-Received: by 2002:a2e:908f:: with SMTP id l15mr1096585ljg.120.1584504857757; Tue, 17 Mar 2020 21:14:17 -0700 (PDT) MIME-Version: 1.0 References: <20200313180333.75011-1-rajatja@google.com> <20200318035618.GG192640@dtor-ws> In-Reply-To: From: Rajat Jain Date: Tue, 17 Mar 2020 21:13:41 -0700 Message-ID: Subject: Re: [PATCH v3] Input: Allocate keycode for "Selective Screenshot" key To: Dmitry Torokhov Cc: Harry Cutts , linux-input , Linux Kernel Mailing List , Dmitry Torokhov , Rajat Jain 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 Tue, Mar 17, 2020 at 9:12 PM Rajat Jain wrote: > > On Tue, Mar 17, 2020 at 8:56 PM Dmitry Torokhov > wrote: > > > > On Fri, Mar 13, 2020 at 11:03:33AM -0700, Rajat Jain wrote: > > > New chromeos keyboards have a "snip" key that is basically a selective > > > screenshot (allows a user to select an area of screen to be copied). > > > Allocate a keycode for it. > > > > > > Signed-off-by: Rajat Jain > > > > Applied, thank you. > > I just noticed that I had by mistake used KEY_SELECTIVE_SNAPSHOT > instead of intended KEY_SELECTIVE_SCREENSHOT in the commit message. My > apologies. Can you please fix the commit message if not already > pushed. Otherwise I can send a follow up patch if you'd like. Arghhh..... please disregard. I was looking at the wrong place. The patch was correct. No need to do anything. Thanks! :-) Best Regards, Rajat > > Thanks & Best Regards, > > Rajat > > > > > > --- > > > v3: Rename KEY_SNIP to KEY_SELECTIVE_SNAPSHOT > > > V2: Drop patch [1/2] and instead rebase this on top of Linus' tree. > > > > > > include/uapi/linux/input-event-codes.h | 2 ++ > > > 1 file changed, 2 insertions(+) > > > > > > diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h > > > index 0f1db1cccc3fd..c4dbe2ee9c098 100644 > > > --- a/include/uapi/linux/input-event-codes.h > > > +++ b/include/uapi/linux/input-event-codes.h > > > @@ -652,6 +652,8 @@ > > > /* Electronic privacy screen control */ > > > #define KEY_PRIVACY_SCREEN_TOGGLE 0x279 > > > > > > +#define KEY_SELECTIVE_SCREENSHOT 0x280 > > > + > > > /* > > > * Some keyboards have keys which do not have a defined meaning, these keys > > > * are intended to be programmed / bound to macros by the user. For most > > > -- > > > 2.25.1.481.gfbce0eb801-goog > > > > > > > -- > > Dmitry