aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorIvan Bobyr <brefi@yandex.ru>2008-04-16 15:01:55 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:09:40 -0400
commit9e05c0f0d84c25f7f576ebc22a9a3a2cf962cc58 (patch)
tree6364189520a8b149aff076d1b38cea651b20625c /drivers/media
parent1d3104b819979784df1da6ad76acef33cd9736e4 (diff)
V4L/DVB (7590): ir-common: Adds 3 missing IR keys for FlyVIdeo2000
The patch extends the default keymap of FlyVIdeo2000 IR remote control so that this remote may also serve movie & music players in a better way. I bought a SAA7130 TV tuner with a remote control having 3 additional button as the default layout, exactly as: 1) labeled "<<<" : key code 0x19, may be used as "backward"in MPlayer,XMMS etc 2) labeled ">>>" : key code 0x1f, may be used as "forward"... 3) not labeled : key code 0x0a, may be used as "pause"... Once have added these code definitions to the kernel, me got all these operations available for viewing movies & listening music. Signed-off-by : Ivan Bobyr <brefi@yandex.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/common/ir-keymaps.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c
index c5d10bdf4286..65f810cde605 100644
--- a/drivers/media/common/ir-keymaps.c
+++ b/drivers/media/common/ir-keymaps.c
@@ -771,7 +771,11 @@ IR_KEYTAB_TYPE ir_codes_flyvideo[IR_KEYTAB_SIZE] = {
771 [ 0x12 ] = KEY_CHANNELUP, // Channel + 771 [ 0x12 ] = KEY_CHANNELUP, // Channel +
772 [ 0x13 ] = KEY_CHANNELDOWN, // Channel - 772 [ 0x13 ] = KEY_CHANNELDOWN, // Channel -
773 [ 0x06 ] = KEY_AGAIN, // Recall 773 [ 0x06 ] = KEY_AGAIN, // Recall
774 [ 0x10 ] = KEY_ENTER, // Enter 774 [ 0x10 ] = KEY_ENTER, // Enter
775
776 [ 0x19 ] = KEY_BACK, // Rewind ( <<< )
777 [ 0x1f ] = KEY_FORWARD, // Forward ( >>> )
778 [ 0x0a ] = KEY_ANGLE, // (no label, may be used as the PAUSE button)
775}; 779};
776 780
777EXPORT_SYMBOL_GPL(ir_codes_flyvideo); 781EXPORT_SYMBOL_GPL(ir_codes_flyvideo);