From patchwork Mon Nov 20 10:06:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: peter.enderborg@sonym.com X-Patchwork-Id: 10066251 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 13D4960597 for ; Mon, 20 Nov 2017 10:16:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 016A528E70 for ; Mon, 20 Nov 2017 10:16:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EA8B629053; Mon, 20 Nov 2017 10:16:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7210628E71 for ; Mon, 20 Nov 2017 10:16:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751116AbdKTKQV (ORCPT ); Mon, 20 Nov 2017 05:16:21 -0500 Received: from seldsegrel01.sonyericsson.com ([37.139.156.29]:8362 "EHLO SELDSEGREL01.sonyericsson.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751105AbdKTKQU (ORCPT ); Mon, 20 Nov 2017 05:16:20 -0500 X-Greylist: delayed 601 seconds by postgrey-1.27 at vger.kernel.org; Mon, 20 Nov 2017 05:16:19 EST From: To: Dmitry Torokhov , CC: Peter Enderborg Subject: [PATCH] Add BTN config for ShuttlePro Date: Mon, 20 Nov 2017 11:06:14 +0100 Message-ID: <20171120100614.754-1-peter.enderborg@sonym.com> X-Mailer: git-send-email 2.11.1 MIME-Version: 1.0 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Peter Enderborg ShuttlePro v2 is using 0x10a to 0x10e for generic usage. Add defines for the buttos 0x10a to 0x10f. Signed-off-by: Peter Enderborg --- include/uapi/linux/input-event-codes.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/uapi/linux/input-event-codes.h b/include/uapi/linux/input-event-codes.h index 061fa62..b5c4dc9 100644 --- a/include/uapi/linux/input-event-codes.h +++ b/include/uapi/linux/input-event-codes.h @@ -350,6 +350,12 @@ #define BTN_7 0x107 #define BTN_8 0x108 #define BTN_9 0x109 +#define BTN_10 0x10a +#define BTN_11 0x10b +#define BTN_12 0x10c +#define BTN_13 0x10d +#define BTN_14 0x10e +#define BTN_15 0x10f #define BTN_MOUSE 0x110 #define BTN_LEFT 0x110