Received: by 10.223.164.202 with SMTP id h10csp799128wrb; Thu, 9 Nov 2017 14:46:36 -0800 (PST) X-Google-Smtp-Source: ABhQp+TfN9zEqypuiejTLsXFH1TgOc6sjxWd5DsfE3bbLtpGf1+yl+6lhqOqKP8KbAg4hf+BdHjt X-Received: by 10.84.169.3 with SMTP id g3mr1886094plb.438.1510267596294; Thu, 09 Nov 2017 14:46:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510267596; cv=none; d=google.com; s=arc-20160816; b=PREhfD3q778L8CW8jrY0Vpetk2B/zyCfEkdmr+QX5hIUwdBxkyrmxbdGalu6ccwDRZ SczJvE7nOjOCTrKwxqhPL9OzcYS27Ihcr5OXLtaOp5vT0daV4INOgrzqCJqwiZGYajXe k2iwC02xC5MitSXyMgvfblQsvNMe4GtQHKIXWNayRYhVtk8DFDT1zaFPbWOLP+OKv4VH ueTzCrUU38WsO6Mf+1WZK9rno2nHc4CieDM1V4tvRRI10mrLJHIWhPBCtReauYNZJ7s1 JKB8U4zonYRKEbrqbJvLsM+IwNB5NHE4eFu5IaXyQ8biNhp6tMrC7281/Gh+cETXvb+r j9EA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:references:in-reply-to:date:subject:cc:to:from :arc-authentication-results; bh=FMmMYu5cxgtNi+WtaS3tYjqrspqAfp6+uljtgWDXMyk=; b=mxs6JgoocRqBbQFNtbzqInbUUgKoMWQqIoo4nL6bkOS/9/h+S2+8EehCbEczcVBq1o cvO8nMjXGFiehSryQjNF0QRWjZh9kX25ufpA9fZ8AA73cZXspJnLdYyuXVKR/GK2gYij MfzM8y8xR1OHV2hFFXwtUr9pUiC+C+mKSbdQEctb3N9Q3hfTsuTy2Rj7Jd5W/Q2mdztG zebBUgHyJupvR9nzV2J7/hlDNSJTqJQ4yiVPZFsgsY34IMG8K+M6K5oob9YsaBXz1dr+ YA34hkY6WCTcQgbx+r8Y7NW/jckqKwkUfB3x113loMzDrkasoKEAqkytWjRAPinNXtGP OC+Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f32si7217930plf.183.2017.11.09.14.46.24; Thu, 09 Nov 2017 14:46:36 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755214AbdKIWpb (ORCPT + 83 others); Thu, 9 Nov 2017 17:45:31 -0500 Received: from mail-out-2.itc.rwth-aachen.de ([134.130.5.47]:28857 "EHLO mail-out-2.itc.rwth-aachen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754502AbdKIWo7 (ORCPT ); Thu, 9 Nov 2017 17:44:59 -0500 X-IronPort-AV: E=Sophos;i="5.44,371,1505772000"; d="scan'208";a="22985822" Received: from rwthex-w2-a.rwth-ad.de ([134.130.26.158]) by mail-in-2.itc.rwth-aachen.de with ESMTP; 09 Nov 2017 23:44:58 +0100 Received: from pebbles.fritz.box (78.49.52.200) by rwthex-w2-a.rwth-ad.de (2002:8682:1a9e::8682:1a9e) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1034.26; Thu, 9 Nov 2017 23:44:51 +0100 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= To: CC: , =?UTF-8?q?Stefan=20Br=C3=BCns?= , Dmitry Torokhov , Subject: [PATCH v2 3/5] Input: add KEY_ROTATE_LOCK_TOGGLE Date: Thu, 9 Nov 2017 23:44:34 +0100 X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171109224436.16472-1-stefan.bruens@rwth-aachen.de> References: <20171109224436.16472-1-stefan.bruens@rwth-aachen.de> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [78.49.52.200] X-ClientProxiedBy: rwthex-w2-b.rwth-ad.de (2002:8682:1a9f::8682:1a9f) To rwthex-w2-a.rwth-ad.de (2002:8682:1a9e::8682:1a9e) Message-ID: <8ebdb255-b0b5-4de2-a680-e7f6713256d0@rwthex-w2-a.rwth-ad.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The key has the same use as the SW_ROTATE_LOCK, but is used on devices where the state is not tracked by the hardware but has to be handled in software. Signed-off-by: Stefan BrĂ¼ns --- Changes in v2: - New patch, add support for KEY_ROTATE_LOCK_TOGGLE include/uapi/linux/input-event-codes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h index f4058bd4c373..ba5d709a8923 100644 --- a/include/uapi/linux/input-event-codes.h +++ b/include/uapi/linux/input-event-codes.h @@ -593,6 +593,7 @@ #define BTN_DPAD_RIGHT 0x223 #define KEY_ALS_TOGGLE 0x230 /* Ambient light sensor */ +#define KEY_ROTATE_LOCK_TOGGLE 0x231 /* Display rotation lock */ #define KEY_BUTTONCONFIG 0x240 /* AL Button Configuration */ #define KEY_TASKMANAGER 0x241 /* AL Task/Project Manager */ -- 2.15.0 From 1586015118790161440@xxx Wed Dec 06 06:31:24 +0000 2017 X-GM-THRID: 1585938608489556303 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread