diff options
author | Ville-Pekka Vainio <vpivaini@cs.helsinki.fi> | 2007-04-14 14:38:23 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-04-27 14:45:35 -0400 |
commit | 28aedb8fd95b9a11cb9dc75d3be1f30227cb4385 (patch) | |
tree | 1d15691387aeada0e580ed4d42f838a29923f399 /drivers/media | |
parent | f8a389db502f7b287903b209f925df5570ff5478 (diff) |
V4L/DVB (5520): Add support for the extra keys in the black Technotrend 1500 IR
It has come to my knowledge that the Technotrend 1500 DVB cards have
been sold bundled with at least two different kinds of remotes, a grey
one and a black one.
This patch adds support for the extra keys in the black remote to
ir-keymaps.c.
Signed-off-by: Ville-Pekka Vainio <vpivaini@cs.helsinki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/common/ir-keymaps.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c index 5ead66f3dcb2..cbd1184b5219 100644 --- a/drivers/media/common/ir-keymaps.c +++ b/drivers/media/common/ir-keymaps.c | |||
@@ -1739,7 +1739,7 @@ IR_KEYTAB_TYPE ir_codes_encore_enltv[IR_KEYTAB_SIZE] = { | |||
1739 | 1739 | ||
1740 | EXPORT_SYMBOL_GPL(ir_codes_encore_enltv); | 1740 | EXPORT_SYMBOL_GPL(ir_codes_encore_enltv); |
1741 | 1741 | ||
1742 | /* for the Technotrend 1500 bundled remote: */ | 1742 | /* for the Technotrend 1500 bundled remotes (grey and black): */ |
1743 | IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = { | 1743 | IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = { |
1744 | [ 0x01 ] = KEY_POWER, | 1744 | [ 0x01 ] = KEY_POWER, |
1745 | [ 0x02 ] = KEY_SHUFFLE, /* ? double-arrow key */ | 1745 | [ 0x02 ] = KEY_SHUFFLE, /* ? double-arrow key */ |
@@ -1774,6 +1774,12 @@ IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = { | |||
1774 | [ 0x25 ] = KEY_VOLUMEUP, | 1774 | [ 0x25 ] = KEY_VOLUMEUP, |
1775 | [ 0x26 ] = KEY_VOLUMEDOWN, | 1775 | [ 0x26 ] = KEY_VOLUMEDOWN, |
1776 | [ 0x27 ] = KEY_SETUP, | 1776 | [ 0x27 ] = KEY_SETUP, |
1777 | [ 0x3a ] = KEY_RECORD, /* these keys are only in the black remote */ | ||
1778 | [ 0x3b ] = KEY_PLAY, | ||
1779 | [ 0x3c ] = KEY_STOP, | ||
1780 | [ 0x3d ] = KEY_REWIND, | ||
1781 | [ 0x3e ] = KEY_PAUSE, | ||
1782 | [ 0x3f ] = KEY_FORWARD, | ||
1777 | }; | 1783 | }; |
1778 | 1784 | ||
1779 | EXPORT_SYMBOL_GPL(ir_codes_tt_1500); | 1785 | EXPORT_SYMBOL_GPL(ir_codes_tt_1500); |