From patchwork Wed Mar 4 23:31:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Stefan_Br=C3=BCns?= X-Patchwork-Id: 5941341 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 96A2F9F695 for ; Wed, 4 Mar 2015 23:31:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E8C5F202FE for ; Wed, 4 Mar 2015 23:31:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 103702034A for ; Wed, 4 Mar 2015 23:31:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752053AbbCDXbY (ORCPT ); Wed, 4 Mar 2015 18:31:24 -0500 Received: from mx-out-2.rwth-aachen.de ([134.130.5.187]:56994 "EHLO mx-out-2.rwth-aachen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751070AbbCDXbW (ORCPT ); Wed, 4 Mar 2015 18:31:22 -0500 X-IronPort-AV: E=Sophos;i="5.11,343,1422918000"; d="scan'208";a="288141128" Received: from hub2.rwth-ad.de (HELO mail.rwth-aachen.de) ([134.130.26.143]) by mx-2.rz.rwth-aachen.de with ESMTP; 05 Mar 2015 00:31:19 +0100 Received: from pebbles.lan (93.154.49.206) by mail.rwth-aachen.de (134.130.26.143) with Microsoft SMTP Server (TLS) id 14.3.210.2; Thu, 5 Mar 2015 00:31:18 +0100 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= To: CC: =?UTF-8?q?Stefan=20Br=C3=BCns?= Subject: [PATCH v2 1/2] Add alias KEY_ROTATE_DISPLAY for KEY_DIRECTION, add description Date: Thu, 5 Mar 2015 00:31:09 +0100 X-Mailer: git-send-email 2.1.4 In-Reply-To: <1425511870-3303-1-git-send-email-stefan.bruens@rwth-aachen.de> References: <9963784C-E91D-4222-999F-10D04C0FB4E0@hadess.net> <1425511870-3303-1-git-send-email-stefan.bruens@rwth-aachen.de> MIME-Version: 1.0 X-PMWin-Version: 3.1.3.0, Antivirus-Engine: 3.55.0, Antivirus-Data: 5.11 Message-ID: <41beb348-6e52-44bf-923b-68d552ef328b@HUB2.rwth-ad.de> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Stefan BrĂ¼ns --- include/uapi/linux/input.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index a1d7e93..47b0138 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h @@ -368,7 +368,8 @@ struct input_keymap_entry { #define KEY_MSDOS 151 #define KEY_COFFEE 152 /* AL Terminal Lock/Screensaver */ #define KEY_SCREENLOCK KEY_COFFEE -#define KEY_DIRECTION 153 +#define KEY_DIRECTION 153 /* Display orientation for e.g. tablets */ +#define KEY_ROTATE_DISPLAY KEY_DIRECTION #define KEY_CYCLEWINDOWS 154 #define KEY_MAIL 155 #define KEY_BOOKMARKS 156 /* AC Bookmarks */