aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorVille-Pekka Vainio <vpivaini@cs.helsinki.fi>2007-01-12 12:06:21 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:34:20 -0500
commitae1942c5712f700c9ccc8cc287c51db4daaa50d7 (patch)
tree36eadc93cb0845391b00f0737a07e8633737408c /drivers/media/common
parent43db48d3d2f6326c571984b7b30ab355596bb3cc (diff)
V4L/DVB (5070): Budget-ci: add support for the Technotrend 1500 bundled remote
The keymap is based on a previous patch by Jussi Kukkonen. This remote is identified by subsystem_device id 0x1010. Signed-off-by: Ville-Pekka Vainio <vpivaini@cs.helsinki.fi> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/common')
-rw-r--r--drivers/media/common/ir-keymaps.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c
index 8b290204ff6c..03b47a262f27 100644
--- a/drivers/media/common/ir-keymaps.c
+++ b/drivers/media/common/ir-keymaps.c
@@ -1738,3 +1738,42 @@ IR_KEYTAB_TYPE ir_codes_encore_enltv[IR_KEYTAB_SIZE] = {
1738}; 1738};
1739 1739
1740EXPORT_SYMBOL_GPL(ir_codes_encore_enltv); 1740EXPORT_SYMBOL_GPL(ir_codes_encore_enltv);
1741
1742/* for the Technotrend 1500 bundled remote: */
1743IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = {
1744 [ 0x01 ] = KEY_POWER,
1745 [ 0x02 ] = KEY_SHUFFLE, /* ? double-arrow key */
1746 [ 0x03 ] = KEY_1,
1747 [ 0x04 ] = KEY_2,
1748 [ 0x05 ] = KEY_3,
1749 [ 0x06 ] = KEY_4,
1750 [ 0x07 ] = KEY_5,
1751 [ 0x08 ] = KEY_6,
1752 [ 0x09 ] = KEY_7,
1753 [ 0x0a ] = KEY_8,
1754 [ 0x0b ] = KEY_9,
1755 [ 0x0c ] = KEY_0,
1756 [ 0x0d ] = KEY_UP,
1757 [ 0x0e ] = KEY_LEFT,
1758 [ 0x0f ] = KEY_OK,
1759 [ 0x10 ] = KEY_RIGHT,
1760 [ 0x11 ] = KEY_DOWN,
1761 [ 0x12 ] = KEY_INFO,
1762 [ 0x13 ] = KEY_EXIT,
1763 [ 0x14 ] = KEY_RED,
1764 [ 0x15 ] = KEY_GREEN,
1765 [ 0x16 ] = KEY_YELLOW,
1766 [ 0x17 ] = KEY_BLUE,
1767 [ 0x18 ] = KEY_MUTE,
1768 [ 0x19 ] = KEY_TEXT,
1769 [ 0x1a ] = KEY_MODE, /* ? TV/Radio */
1770 [ 0x21 ] = KEY_OPTION,
1771 [ 0x22 ] = KEY_EPG,
1772 [ 0x23 ] = KEY_CHANNELUP,
1773 [ 0x24 ] = KEY_CHANNELDOWN,
1774 [ 0x25 ] = KEY_VOLUMEUP,
1775 [ 0x26 ] = KEY_VOLUMEDOWN,
1776 [ 0x27 ] = KEY_SETUP,
1777};
1778
1779EXPORT_SYMBOL_GPL(ir_codes_tt_1500);