Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1997815ybh; Fri, 13 Mar 2020 11:06:19 -0700 (PDT) X-Google-Smtp-Source: ADFU+vujDg4rJpAbJ7kzsQvrqg9sMx0thYpV//Sv0GbsVEoZltt4nlNCU9ufiJwHOT4XH5QbbZPY X-Received: by 2002:a05:6830:1aca:: with SMTP id r10mr11246008otc.330.1584122779124; Fri, 13 Mar 2020 11:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584122779; cv=none; d=google.com; s=arc-20160816; b=ShLNIXgF1Co1CTzCyUlZhCrM2O3YnV+P0If/YDiZeS/U0X9ZtYXWVohk84+coD03UO Sig+JEZZWAyUq0c0a+0as+0p1JYzXWkzE3qC9ky+IGvbDuyBDmjUVR3jimGQs97vyMFc ytjQAPIC7HEZizuPEQbEauAQFC54/BmlpL4wMkV4caao8L0w8bFj1pizk+omAIrluAq6 NT/HHmf01IhHR+7tMdJwJzG3iUSs82henMOk0L7538iFbJ7xVZDgoPVz1uQIRPJcwZMe eH1jaAzvy0hYM09PjvpEnabKRL43yHN+5xl0fhlNQGrCuJ+prMyfztE3GMSB47XtEyCG uVpQ== 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=EDlxU+1XKAxrrsgNFuO7SmcWGCGnxac2HBDzdZLOJKA=; b=IY1h9iop4mQRV6/PpnuJohGNtGmQE6a4N0EwZBjwfNSgyD7g7Ocz4Ua56d8SOtP/4N Xu8T8sbF9s35TH0KdoQwc8nuPsoNA3GlG8Qct/VomSqZ65M6el3dKVRF5l9n84kKNVqh So9BJzEcDgnDGko55mROydlkyuwdbd4ukdvJH3yu4Kz6CebbaX/06fCGNCCYJ+7Q9PAj VXax2rqFUkxdJ3MhGbqCw2WDb8Yr6/t0w1nZEk3/s6q1RVL4iZFQsFZjzl8P6IW2cqRx ies9FG09OYwIrf2X6gsRqHZeLycb0KjGf+bIAnGXJaVmaOd7SCeaUed1ubA4zsS7pV0I ED2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=fb7uWYOI; 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 h125si4514893oia.253.2020.03.13.11.06.03; Fri, 13 Mar 2020 11:06:19 -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=@chromium.org header.s=google header.b=fb7uWYOI; 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 S1727131AbgCMSFj (ORCPT + 99 others); Fri, 13 Mar 2020 14:05:39 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:35567 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726550AbgCMSFi (ORCPT ); Fri, 13 Mar 2020 14:05:38 -0400 Received: by mail-qt1-f193.google.com with SMTP id v15so8313269qto.2 for ; Fri, 13 Mar 2020 11:05:37 -0700 (PDT) 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=EDlxU+1XKAxrrsgNFuO7SmcWGCGnxac2HBDzdZLOJKA=; b=fb7uWYOIDRZuM0lLutv+Kq/0ARim7AfCnQP88HW1imxu6xzWuwDjMG08m+4FIMKxJE /Vl6pThzwWkWYcNb4MZDNXtJ1UkWDKE0hm6hBOhFcOtE6sm9Lif/W0vFCFT9whB8LDQe jyl6t0vluYzD176kp+F4ShQkv/VQGjfFnuAXQ= 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=EDlxU+1XKAxrrsgNFuO7SmcWGCGnxac2HBDzdZLOJKA=; b=lJrcvZMDCoGMJPACXAi1Ap0+EZu7zBedaBCpuA7BE6ggkjZ8VpwI1hFrC618iS1IZr ktobI3m+KhhGSZ23Cr/egB9ybmWJJe5N5u0ADZ7/W862S/lztT+6Vn1H8QfNEBsStHjo izAUd4jqMSUqHXYsZi5FvLI7EzJJQtPmMfhdqYvBDQb3HII6x4hQA6qTYBBPr8vMs/lT gYOpzTmDYLXrkqN4ytSkBjxYY4HvLUIUCHWBjn4GR32pQsNHLEIaKEWmJDQBqJFo2eYo XR8XINoi99Xjj1H7Thkl2xd0R5ONGcHnt4W5h4k4cxIjXoaeuLJgRB/baKi5rXzGFjox VyQQ== X-Gm-Message-State: ANhLgQ08G6Lf5GSu858rNMvi23imoteV1zxBetXJoCAXZZSM0LpU9Hfj Ck1WN37MphhCo1Jd6PxdLBgf6j9yI8U= X-Received: by 2002:ac8:1184:: with SMTP id d4mr13942724qtj.104.1584122736997; Fri, 13 Mar 2020 11:05:36 -0700 (PDT) Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com. [209.85.219.51]) by smtp.gmail.com with ESMTPSA id x89sm15753267qtd.43.2020.03.13.11.05.36 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 13 Mar 2020 11:05:36 -0700 (PDT) Received: by mail-qv1-f51.google.com with SMTP id r15so5080212qve.3 for ; Fri, 13 Mar 2020 11:05:36 -0700 (PDT) X-Received: by 2002:a05:6214:972:: with SMTP id do18mr13241291qvb.12.1584122735338; Fri, 13 Mar 2020 11:05:35 -0700 (PDT) MIME-Version: 1.0 References: <20200313180333.75011-1-rajatja@google.com> In-Reply-To: <20200313180333.75011-1-rajatja@google.com> From: Harry Cutts Date: Fri, 13 Mar 2020 11:05:24 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3] Input: Allocate keycode for "Selective Screenshot" key To: Rajat Jain Cc: Dmitry Torokhov , linux-input , lkml , Dmitry Torokhov , rajatxjain@gmail.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 Fri, 13 Mar 2020 at 11:03, 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 Reviewed-by: Harry Cutts Harry Cutts Chrome OS Touch/Input team > --- > 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 >