aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/ir-keymaps.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-08-05 09:14:13 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 07:36:47 -0400
commit7d341a6a52f115512d60b2de89b2ebde54da8eff (patch)
tree27cb6a10688e0d11cc379f1c7178b6384a9c6b05 /drivers/media/common/ir-keymaps.c
parent08b1438cc2d50f559cc33ca4d9251636cec11647 (diff)
V4L/DVB (8628): bttv: Add support for Encore ENLTV2-FM
Thanks to Sistema Fenix (http://www.sistemafenix.com.br/) and CDI Brasil (www.cdibrasil.com.br/) for sponsoring this development. Signed-off-by: Gilberto <gilberto@sistemafenix.com.br> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/common/ir-keymaps.c')
-rw-r--r--drivers/media/common/ir-keymaps.c55
1 files changed, 52 insertions, 3 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c
index 8fa91f846d59..aedfabd57388 100644
--- a/drivers/media/common/ir-keymaps.c
+++ b/drivers/media/common/ir-keymaps.c
@@ -1792,12 +1792,61 @@ IR_KEYTAB_TYPE ir_codes_encore_enltv[IR_KEYTAB_SIZE] = {
1792 [ 0x41 ] = KEY_GREEN, /* AP2 */ 1792 [ 0x41 ] = KEY_GREEN, /* AP2 */
1793 [ 0x47 ] = KEY_YELLOW, /* AP3 */ 1793 [ 0x47 ] = KEY_YELLOW, /* AP3 */
1794 [ 0x57 ] = KEY_BLUE, /* AP4 */ 1794 [ 0x57 ] = KEY_BLUE, /* AP4 */
1795
1796
1797}; 1795};
1798
1799EXPORT_SYMBOL_GPL(ir_codes_encore_enltv); 1796EXPORT_SYMBOL_GPL(ir_codes_encore_enltv);
1800 1797
1798/* Encore ENLTV2-FM - silver plastic - "Wand Media" written at the botton
1799 Mauro Carvalho Chehab <mchehab@infradead.org> */
1800IR_KEYTAB_TYPE ir_codes_encore_enltv2[IR_KEYTAB_SIZE] = {
1801 [0x4c] = KEY_POWER2,
1802 [0x4a] = KEY_TUNER,
1803 [0x40] = KEY_1,
1804 [0x60] = KEY_2,
1805 [0x50] = KEY_3,
1806 [0x70] = KEY_4,
1807 [0x48] = KEY_5,
1808 [0x68] = KEY_6,
1809 [0x58] = KEY_7,
1810 [0x78] = KEY_8,
1811 [0x44] = KEY_9,
1812 [0x54] = KEY_0,
1813
1814 [0x64] = KEY_LAST, /* +100 */
1815 [0x4e] = KEY_AGAIN, /* Recall */
1816
1817 [0x6c] = KEY_SWITCHVIDEOMODE, /* Video Source */
1818 [0x5e] = KEY_MENU,
1819 [0x56] = KEY_SCREEN,
1820 [0x7a] = KEY_SETUP,
1821
1822 [0x46] = KEY_MUTE,
1823 [0x5c] = KEY_MODE, /* Stereo */
1824 [0x74] = KEY_INFO,
1825 [0x7c] = KEY_CLEAR,
1826
1827 [0x55] = KEY_UP,
1828 [0x49] = KEY_DOWN,
1829 [0x7e] = KEY_LEFT,
1830 [0x59] = KEY_RIGHT,
1831 [0x6a] = KEY_ENTER,
1832
1833 [0x42] = KEY_VOLUMEUP,
1834 [0x62] = KEY_VOLUMEDOWN,
1835 [0x52] = KEY_CHANNELUP,
1836 [0x72] = KEY_CHANNELDOWN,
1837
1838 [0x41] = KEY_RECORD,
1839 [0x51] = KEY_SHUFFLE, /* Snapshot */
1840 [0x75] = KEY_TIME, /* Timeshift */
1841 [0x71] = KEY_TV2, /* PIP */
1842
1843 [0x45] = KEY_REWIND,
1844 [0x6f] = KEY_PAUSE,
1845 [0x7d] = KEY_FORWARD,
1846 [0x79] = KEY_STOP,
1847};
1848EXPORT_SYMBOL_GPL(ir_codes_encore_enltv2);
1849
1801/* for the Technotrend 1500 bundled remotes (grey and black): */ 1850/* for the Technotrend 1500 bundled remotes (grey and black): */
1802IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = { 1851IR_KEYTAB_TYPE ir_codes_tt_1500[IR_KEYTAB_SIZE] = {
1803 [ 0x01 ] = KEY_POWER, 1852 [ 0x01 ] = KEY_POWER,