From patchwork Thu May 8 19:41:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 4138381 Return-Path: X-Original-To: patchwork-linux-media@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 7E4E9BFF02 for ; Thu, 8 May 2014 19:41:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B909620253 for ; Thu, 8 May 2014 19:41:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DCFF3200E8 for ; Thu, 8 May 2014 19:41:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755303AbaEHTle (ORCPT ); Thu, 8 May 2014 15:41:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32486 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755240AbaEHTlc (ORCPT ); Thu, 8 May 2014 15:41:32 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s48JfVsV027418 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 8 May 2014 15:41:32 -0400 Received: from shalem.localdomain.com (vpn1-5-220.ams2.redhat.com [10.36.5.220]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s48JfS2I029599; Thu, 8 May 2014 15:41:31 -0400 From: Hans de Goede To: Linux Media Mailing List Cc: Hans de Goede Subject: [PATCH 2/3] rc_keymaps: Add a keymap for the remote shipped with allwinner i12-a20 tv boxes Date: Thu, 8 May 2014 21:41:26 +0200 Message-Id: <1399578087-2365-3-git-send-email-hdegoede@redhat.com> In-Reply-To: <1399578087-2365-1-git-send-email-hdegoede@redhat.com> References: <1399578087-2365-1-git-send-email-hdegoede@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 This is an unbranded remote found with unbranded allwinner a20 based android tv boxes, which are referred to as i12 tv boxes since the pcb is marked i12 (the i12 name is also used in u-boot and for the devicetree files). Signed-off-by: Hans de Goede --- utils/keytable/rc_keymaps/allwinner_i12_a20_tv_box | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 utils/keytable/rc_keymaps/allwinner_i12_a20_tv_box diff --git a/utils/keytable/rc_keymaps/allwinner_i12_a20_tv_box b/utils/keytable/rc_keymaps/allwinner_i12_a20_tv_box new file mode 100644 index 0000000..edbc7a7 --- /dev/null +++ b/utils/keytable/rc_keymaps/allwinner_i12_a20_tv_box @@ -0,0 +1,28 @@ +# table allwinner_i12_a20_tv_box, type: NEC +0x00 KEY_7 +0x01 KEY_4 +0x02 KEY_1 +0x03 KEY_VOLUMEDOWN +0x04 KEY_8 +0x05 KEY_5 +0x06 KEY_2 +0x07 KEY_BACK +0x08 KEY_9 +0x09 KEY_6 +0x0a KEY_3 +0x0b KEY_NEXTSONG +0x0c KEY_WWW +0x0d KEY_0 +0x0e KEY_BACKSPACE +0x40 KEY_VOLUMEUP +0x41 KEY_LEFT +0x42 KEY_HOME +0x43 KEY_POWER +0x44 KEY_DOWN +0x45 KEY_OK +0x46 KEY_UP +0x47 KEY_CONTEXT_MENU +0x48 KEY_PREVIOUSSONG +0x49 KEY_RIGHT +0x4a KEY_MENU +0x4b KEY_MUTE