From patchwork Wed Dec 1 23:52:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zidlicky X-Patchwork-Id: 372711 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oB1NrDQD013289 for ; Wed, 1 Dec 2010 23:53:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755937Ab0LAXxM (ORCPT ); Wed, 1 Dec 2010 18:53:12 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:65338 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755585Ab0LAXxL (ORCPT ); Wed, 1 Dec 2010 18:53:11 -0500 Received: by fxm20 with SMTP id 20so630446fxm.19 for ; Wed, 01 Dec 2010 15:53:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:sender:received:date:from:to :subject:message-id:mime-version:content-type:content-disposition :user-agent; bh=F+S8Nj5MM02FsI5NQmtqzWwZMOc6eMABfeANsBb6kmw=; b=pvFdFLy1qGlEk41tTWwm8craTZhRw+lpFnty9mQlvoNULvbBg06welgt7MBMawkETH +sScGkJklGzbxIrZf/03msLcWO8USivxF4A3d+9HjOpNzufOnRg4ELh1I50UuzyiqEJb gE9ENrdNKGdXAzDIpfBYi+mn0WgUL9k2TqHHY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=XbCFyKR9tGNy9943wQS0V/hXLisDZGUiOtWUACYoBPBJSMCJY1dYYwiqa6ZKi4c+ju 6YbSPmrBJQVX5uAvUSHTUZDIkV0vqW3yGVRZQ1WIp+bhmO8cABQta4UeKeBQjE15CWLD 3z1ti+oVnmpjmEuU8UOazzsdf0toQ14imJLG0= Received: by 10.223.71.198 with SMTP id i6mr9038797faj.140.1291247590482; Wed, 01 Dec 2010 15:53:10 -0800 (PST) Received: from localhost.localdomain ([89.204.153.221]) by mx.google.com with ESMTPS id 17sm255479far.19.2010.12.01.15.53.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 01 Dec 2010 15:53:09 -0800 (PST) Received: from rz by localhost.localdomain with local (Exim 4.69) (envelope-from ) id 1PNwTh-00067f-UO; Thu, 02 Dec 2010 00:52:49 +0100 Date: Thu, 2 Dec 2010 00:52:49 +0100 From: Richard Zidlicky To: mchehab@infradead.org, linux-media@vger.kernel.org Subject: [PATCH] keycodes for DSR-0112 remote bundled with Haupauge MiniStick Message-ID: <20101201235249.GA22845@linux-m68k.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Wed, 01 Dec 2010 23:53:14 +0000 (UTC) --- linux-2.6.36/drivers/media/IR/keymaps/rc-rc5-hauppauge-new.c.rz 2010-11-27 00:43:33.000000000 +0100 +++ linux-2.6.36/drivers/media/IR/keymaps/rc-rc5-hauppauge-new.c 2010-12-02 00:41:33.000000000 +0100 @@ -75,6 +75,44 @@ { 0x1e3b, KEY_SELECT }, /* top right button */ { 0x1e3c, KEY_ZOOM }, /* full */ { 0x1e3d, KEY_POWER }, /* system power (green button) */ + + /* Keycodes for DSR-0112 remote bundled with Haupauge MiniStick */ + { 0x1d00, KEY_0 }, + { 0x1d01, KEY_1 }, + { 0x1d02, KEY_2 }, + { 0x1d03, KEY_3 }, + { 0x1d04, KEY_4 }, + { 0x1d05, KEY_5 }, + { 0x1d06, KEY_6 }, + { 0x1d07, KEY_7 }, + { 0x1d08, KEY_8 }, + { 0x1d09, KEY_9 }, + { 0x1d0a, KEY_TEXT }, + { 0x1d0d, KEY_MENU }, + { 0x1d0f, KEY_MUTE }, + { 0x1d10, KEY_VOLUMEUP }, + { 0x1d11, KEY_VOLUMEDOWN }, + { 0x1d12, KEY_CHANNEL }, /* Prev.Ch .. ??? */ + { 0x1d14, KEY_UP }, + { 0x1d15, KEY_DOWN }, + { 0x1d16, KEY_LEFT }, + { 0x1d17, KEY_RIGHT }, + { 0x1d1c, KEY_TV }, + { 0x1d1e, KEY_NEXT }, /* >| */ + { 0x1d1f, KEY_EXIT }, + { 0x1d20, KEY_CHANNELUP }, + { 0x1d21, KEY_CHANNELDOWN }, + { 0x1d24, KEY_LAST }, /* <| */ + { 0x1d25, KEY_OK }, + { 0x1d30, KEY_PAUSE }, + { 0x1d32, KEY_REWIND }, + { 0x1d34, KEY_FASTFORWARD }, + { 0x1d35, KEY_PLAY }, + { 0x1d36, KEY_STOP }, + { 0x1d37, KEY_RECORD }, + { 0x1d3b, KEY_GOTO }, + { 0x1d3d, KEY_POWER }, + { 0x1d3f, KEY_HOME }, }; static struct rc_keymap rc5_hauppauge_new_map = {