From patchwork Sat May 17 14:43:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 4196611 Return-Path: X-Original-To: patchwork-linux-input@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3E6E8BEEAB for ; Sat, 17 May 2014 14:45:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7F06C2039C for ; Sat, 17 May 2014 14:45:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AACE120380 for ; Sat, 17 May 2014 14:45:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757465AbaEQOok (ORCPT ); Sat, 17 May 2014 10:44:40 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:64520 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757116AbaEQOoj (ORCPT ); Sat, 17 May 2014 10:44:39 -0400 Received: by mail-pa0-f45.google.com with SMTP id ey11so3797130pad.18 for ; Sat, 17 May 2014 07:44:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=Mc90g/ydK9cNPI2WTpN5IX9FIe8z3V34pg+f/xV93eg=; b=CPBYBODwvlzIL+bPqKbjN4Yu1kLaWUJ2ph+tnJpnLJ4I33JWAEh0LGLSdvDV0vvCpg MouxwzyoO9DSDFvMWJM1g7mWHpcwJANR6TbBZ01Ktcaot2Ke3ewHs9LoR8ufeL0uKwWd BjQiaAAH1CBlCpbWGFFh3v6k93vMAP6TuBBe27v8BFCXxHEnpDcnMCHnj4C0WbpLfe0R +oNITk2/dMk/qHbimuZFi5dqgoTjvQSBaM/u3UbZTG6mgeGA8Yr1jNEK78ugA/3u0vzW flgcocMcDt3yKY/uZd9EkQ/lWp+mDom+xDTnPR/GY8S2j0Tt5+XpStSBd/7RSiu8GIPs jaFQ== X-Received: by 10.68.200.133 with SMTP id js5mr29326958pbc.138.1400337878280; Sat, 17 May 2014 07:44:38 -0700 (PDT) Received: from Pali-Latitude.kolej.mff.cuni.cz (pali.kolej.mff.cuni.cz. [78.128.193.202]) by mx.google.com with ESMTPSA id ib5sm20317021pbb.55.2014.05.17.07.44.35 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 17 May 2014 07:44:37 -0700 (PDT) From: =?UTF-8?q?Pali=20Roh=C3=A1r?= To: Dmitry Torokhov , Matthew Garrett Cc: linux-input@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-hotplug@vger.kernel.org, Matthew Garrett , linux-kernel@vger.kernel.org, =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH 1/2] Input: Add keycodes for some missing Fn key combinations Date: Sat, 17 May 2014 16:43:36 +0200 Message-Id: <1400337817-14473-2-git-send-email-pali.rohar@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1400337817-14473-1-git-send-email-pali.rohar@gmail.com> References: <201405171639.45722@pali> <1400337817-14473-1-git-send-email-pali.rohar@gmail.com> MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 There are already defined some Fn key combinations, but not all. This patch adds missing combinations for support in dell-wmi driver. Signed-off-by: Pali Rohár --- include/uapi/linux/input.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index f484952..3a32799 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h @@ -672,6 +672,12 @@ struct input_keymap_entry { #define KEY_FN_F 0x1e2 #define KEY_FN_S 0x1e3 #define KEY_FN_B 0x1e4 +#define KEY_FN_Q 0x1e5 +#define KEY_FN_W 0x1e6 +#define KEY_FN_R 0x1e7 +#define KEY_FN_T 0x1e8 +#define KEY_FN_A 0x1e9 +#define KEY_FN_G 0x1ea #define KEY_BRL_DOT1 0x1f1 #define KEY_BRL_DOT2 0x1f2