Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp610696img; Thu, 21 Mar 2019 05:24:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsQdNHMyLCH1BWTUmBWVyXD75E7eLRzLgfphEsHAFXlJqh5Sat0W2n1Wg8Ruswrmery2Eh X-Received: by 2002:a17:902:8697:: with SMTP id g23mr3370101plo.30.1553171097909; Thu, 21 Mar 2019 05:24:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553171097; cv=none; d=google.com; s=arc-20160816; b=tHlkeEZNop9XIUgLexcRkLqVDGtZ1H7btHvyp+7MQM5LMn64+BAy1ADtdu1qBmeFL8 AuowMldzTXQ7E5qpMPD8X4a/xfuGSP19HOiq/iQ/gVvnsGkQhqV5fSf6Ybi8RVCHUmXi uercfR6N1s9opz2ChAmKwpWbdzVPQxAh/ZLIxJo8XAHrqg2x4oBbwH1mV3I8byb5qBNa ftnY1hya5tNJK46SPDhVBXrY/A012SY+sU+OfokXqsbIxRh8bQwuTt6PRktq+rdfIAN1 VD04p53nw/lirtRl/9EZ7mnJguL2HI6m6pio1wYh7kLVQNLq9HaxrQGklEDTwFYmQZXP If8g== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=HUt2yYzlg2cWXTuxjYAtIUMoN501Y0PRGNgz60VX7Do=; b=fy0whPgVCqSx3jJI9K1ns0CRBrcUm/j12ZEhq3usbx+RcGcKpzcglzkXJI0dbXm0p8 abwsqOr2+aSlCOOp+Bmf9rzpyFUzmQ7oUVlV6UaY3gKd+XnVBc1dROFK5/PHZ1mXrT5u 0DHSyJFWlX69usZ84+JUwnfJdby22hxUbklrqHwFhT+UHpp+RqJhGsBKIr22Cv0mdQ9O i0uCTa+VjE1V4KxrCHSCCCqWqy8OK1j8IT3kaXJ4anwULEhjtNg41UrqeP6qQF0W8yFc RDdPymjTdtQamib3WL+n9dUovzPai1SYp9LR5O3IUK8CL/6NzINTJFGJ8W9dgqYlDsBW 8tww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=OD+zufmI; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x20si3884690pfm.282.2019.03.21.05.24.40; Thu, 21 Mar 2019 05:24:57 -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=fail header.i=@infradead.org header.s=casper.20170209 header.b=OD+zufmI; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728143AbfCUMXu (ORCPT + 99 others); Thu, 21 Mar 2019 08:23:50 -0400 Received: from casper.infradead.org ([85.118.1.10]:52776 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727823AbfCUMXu (ORCPT ); Thu, 21 Mar 2019 08:23:50 -0400 X-Greylist: delayed 370 seconds by postgrey-1.27 at vger.kernel.org; Thu, 21 Mar 2019 08:23:50 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HUt2yYzlg2cWXTuxjYAtIUMoN501Y0PRGNgz60VX7Do=; b=OD+zufmIi7PksHuygirQjBwDjM pw1OMBmIv2kwFkHgc2uD7tY4Tq40e2FgTNWF++aPutsI548V4W1mmDUhWgucz/qAL5b/1ofp3SgSS ZGtwkuCRzsEwfA7l8G3VvGgM7WU/DhdJDNJ47O2B5kLYgolKzEdRXPlHxjFrYXZQ1kmSwE8jjPpf+ KD/qC/+7bN7zVtd3aBAvmxafRi325tXjJcGol3oI6vv4Sjw5B+NoxviKm/E7m/vATmD1HveyovDlX qfg81wpXjlayI42CWGlouBgdXIyn8hnkJNysKNCgPZQfMnH4aHVSwHlRKSVtfEPxjz11J8oI3Vmk0 +hVMpH3w==; Received: from [179.95.24.146] (helo=coco.lan) by casper.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1h6wdb-0002XX-S2; Thu, 21 Mar 2019 12:17:36 +0000 Date: Thu, 21 Mar 2019 09:17:31 -0300 From: Mauro Carvalho Chehab To: Dmitry Torokhov Cc: Jiri Kosina , Benjamin Tissoires , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: [PATCH 1/7] Input: document meanings of KEY_SCREEN and KEY_ZOOM Message-ID: <20190321091731.7b34fc63@coco.lan> In-Reply-To: <20190118233037.87318-1-dmitry.torokhov@gmail.com> References: <20190118233037.87318-1-dmitry.torokhov@gmail.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, 18 Jan 2019 15:30:31 -0800 Dmitry Torokhov escreveu: > It is hard to say what KEY_SCREEN and KEY_ZOOM mean, but historically DVB > folks have used them to indicate switch to full screen mode. Later, they > converged on using KEY_ZOOM to switch into full screen mode and KEY)SCREEN > to control aspect ratio (see Documentation/media/uapi/rc/rc-tables.rst). > > Let's commit to these uses, and define: > > - KEY_FULL_SCREEN (and make KEY_ZOOM its alias) > - KEY_ASPECT_RATIO (and make KEY_SCREEN its alias) > > Signed-off-by: Dmitry Torokhov Feel free to apply via your tree. Acked-by: Mauro Carvalho Chehab > --- > > Please let me know how we want merge this. Some of patches can be applied > independently and I tried marking them as such, but some require new key > names from input.h > > include/uapi/linux/input-event-codes.h | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h > index ae366b87426a..bc5054e51bef 100644 > --- a/include/uapi/linux/input-event-codes.h > +++ b/include/uapi/linux/input-event-codes.h > @@ -439,10 +439,12 @@ > #define KEY_TITLE 0x171 > #define KEY_SUBTITLE 0x172 > #define KEY_ANGLE 0x173 > -#define KEY_ZOOM 0x174 > +#define KEY_FULL_SCREEN 0x174 /* AC View Toggle */ > +#define KEY_ZOOM KEY_FULL_SCREEN > #define KEY_MODE 0x175 > #define KEY_KEYBOARD 0x176 > -#define KEY_SCREEN 0x177 > +#define KEY_ASPECT_RATIO 0x177 /* HUTRR37: Aspect */ > +#define KEY_SCREEN KEY_ASPECT_RATIO > #define KEY_PC 0x178 /* Media Select Computer */ > #define KEY_TV 0x179 /* Media Select TV */ > #define KEY_TV2 0x17a /* Media Select Cable */ Thanks, Mauro