From patchwork Mon May 4 17:32:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Debski X-Patchwork-Id: 6328521 Return-Path: X-Original-To: patchwork-linux-media@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 D9F359F1C2 for ; Mon, 4 May 2015 17:33:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2947F2026D for ; Mon, 4 May 2015 17:33:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 44FB2202E6 for ; Mon, 4 May 2015 17:33:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751967AbbEDRdx (ORCPT ); Mon, 4 May 2015 13:33:53 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:56910 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751442AbbEDRdv (ORCPT ); Mon, 4 May 2015 13:33:51 -0400 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NNU000KA64ETK10@mailout1.samsung.com>; Tue, 05 May 2015 02:33:50 +0900 (KST) X-AuditID: cbfee61b-f79536d000000f1f-a6-5547ad7dcec7 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id FB.4F.03871.D7DA7455; Tue, 5 May 2015 02:33:50 +0900 (KST) Received: from AMDC1342.digital.local ([106.116.147.39]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NNU0018W6370NB0@mmp1.samsung.com>; Tue, 05 May 2015 02:33:49 +0900 (KST) From: Kamil Debski To: dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org Cc: m.szyprowski@samsung.com, k.debski@samsung.com, mchehab@osg.samsung.com, hverkuil@xs4all.nl, kyungmin.park@samsung.com, thomas@tommie-lie.de, sean@mess.org, dmitry.torokhov@gmail.com, linux-input@vger.kernel.org, linux-samsung-soc@vger.kernel.org, lars@opdenkamp.eu Subject: [PATCH v6 04/11] HID: add HDMI CEC specific keycodes Date: Mon, 04 May 2015 19:32:57 +0200 Message-id: <1430760785-1169-5-git-send-email-k.debski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1430760785-1169-1-git-send-email-k.debski@samsung.com> References: <1430760785-1169-1-git-send-email-k.debski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrILMWRmVeSWpSXmKPExsVy+t9jAd26te6hBq/esVocXvSC0eLK1/ds FqcmP2Oy+PH6ApvF2aY37Bbrl15jtbj56RurRc+GrawWM87vY7JYe+Quu8XqZxUWC59+Z7FY uKydzYHXY+esu+we97uPM3kseWPtseHdO1aPLf1Aob4tqxg9Hl2aw+zxeZOcx6mvn9kDOKO4 bFJSczLLUov07RK4Mhb8n8lasIu94mPrNPYGxulsXYycHBICJhI71+1ngbDFJC7cWw8U5+IQ EljEKNH9soMVwvnFKHHp+y0gh4ODTUBTYtU9D5AGEQEHiWkbfzCB1DALTGaSuP+3hwWkRljA VmLLOhWQGhYBVYlZL/axgYR5BZwlls7PAjElBBQk5kyyAangFHCRWPWnHewEIaCKL1v+M09g 5F3AyLCKUTS1ILmgOCk910ivODG3uDQvXS85P3cTIzhgn0nvYFzVYHGIUYCDUYmH98Qqt1Ah 1sSy4srcQ4wSHMxKIrzPl7iHCvGmJFZWpRblxxeV5qQWH2KU5mBREuedoysXKiSQnliSmp2a WpBaBJNl4uCUamBcuHn/4l8xE6b0//F32/H36OFEl8uXF655m5HcsN/eNq3V9PDN+MNhG09X aldbcy271MafdsT7SpVpyNQmiftld2JuX1Iv3Pxi75P8KQ+iVv1NM71fePaN1HTH9eYKL6c+ 1Ijgbmc9XFH44sTdz8uXRYht3uCRZJNcpXLlnWrCXgYG7WSvg1ypSizFGYmGWsxFxYkAYr2V wlQCAAA= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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 Add HDMI CEC specific keycodes to the keycodes definition. Signed-off-by: Kamil Debski Acked-by: Hans Verkuil --- include/uapi/linux/input.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/uapi/linux/input.h b/include/uapi/linux/input.h index 731417c..7430a3f 100644 --- a/include/uapi/linux/input.h +++ b/include/uapi/linux/input.h @@ -752,6 +752,18 @@ struct input_keymap_entry { #define KEY_KBDINPUTASSIST_ACCEPT 0x264 #define KEY_KBDINPUTASSIST_CANCEL 0x265 +#define KEY_RIGHT_UP 0x266 +#define KEY_RIGHT_DOWN 0x267 +#define KEY_LEFT_UP 0x268 +#define KEY_LEFT_DOWN 0x269 + +#define KEY_NEXT_FAVORITE 0x270 +#define KEY_STOP_RECORD 0x271 +#define KEY_PAUSE_RECORD 0x272 +#define KEY_VOD 0x273 +#define KEY_UNMUTE 0x274 +#define KEY_DVB 0x275 + #define BTN_TRIGGER_HAPPY 0x2c0 #define BTN_TRIGGER_HAPPY1 0x2c0 #define BTN_TRIGGER_HAPPY2 0x2c1