Add missing OK key to PCTV IR keymap

Message ID 4E47BD26.70508@yahoo.com (mailing list archive)
State Superseded, archived
Headers

Commit Message

Chris Rankin Aug. 14, 2011, 12:18 p.m. UTC
  Hi,

The following patch adds the IR code for the missing "OK" key to the Pinnacle 
PCTV HD map. This map is now used by the PCTV 290e DVB-T2 device, whose remote 
control has 26 buttons.

Cheers,
Chris

Signed-off-by: Chris Rankin <rankincj@yahoo.com>
  

Comments

Devin Heitmueller Aug. 14, 2011, 12:29 p.m. UTC | #1
On Sun, Aug 14, 2011 at 8:18 AM, Chris Rankin <rankincj@yahoo.com> wrote:
> Hi,
>
> The following patch adds the IR code for the missing "OK" key to the
> Pinnacle PCTV HD map. This map is now used by the PCTV 290e DVB-T2 device,
> whose remote control has 26 buttons.
>
> Cheers,
> Chris
>
> Signed-off-by: Chris Rankin <rankincj@yahoo.com>
>
>

Reviewed-by: Devin Heitmueller <dheitmueller@kernellabs.com>
  

Patch

--- linux-3.0/drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c.orig	2011-08-14 02:42:01.000000000 +0100
+++ linux-3.0/drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c	2011-08-14 02:12:45.000000000 +0100
@@ -20,6 +20,7 @@ 
 	{ 0x0701, KEY_MENU }, /* Pinnacle logo */
 	{ 0x0739, KEY_POWER },
 	{ 0x0703, KEY_VOLUMEUP },
+	{ 0x0705, KEY_OK },
 	{ 0x0709, KEY_VOLUMEDOWN },
 	{ 0x0706, KEY_CHANNELUP },
 	{ 0x070c, KEY_CHANNELDOWN },