From: Chris Rankin Date: Sun, 14 Aug 2011 12:18:46 +0000 (-0300) Subject: [media] Add missing OK key to PCTV IR keymap X-Git-Tag: MMI-PSA29.97-13-9~18177^2~263 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=63f409a444fa295247363a28381314683d6f4596;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [media] Add missing OK key to PCTV IR keymap 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. Signed-off-by: Chris Rankin Reviewed-by: Devin Heitmueller Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c b/drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c index 8d558ae63456..31fc64cd17ba 100644 --- a/drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c +++ b/drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c @@ -20,6 +20,7 @@ static struct rc_map_table pinnacle_pctv_hd[] = { { 0x0701, KEY_MENU }, /* Pinnacle logo */ { 0x0739, KEY_POWER }, { 0x0703, KEY_VOLUMEUP }, + { 0x0705, KEY_OK }, { 0x0709, KEY_VOLUMEDOWN }, { 0x0706, KEY_CHANNELUP }, { 0x070c, KEY_CHANNELDOWN },