aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorJuan Pablo Sormani <sorman@gmail.com>2006-12-27 10:46:36 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 10:34:16 -0500
commitc36c459a5530da8869a4de832188cdcb75b60359 (patch)
tree1111339e5ca30e1af3b5a181b46fe770273d1eb2 /drivers/media/common
parent95efa03bd66511ca9fb4ebc528211166ac842d27 (diff)
V4L/DVB (5015): Add support for more Encore TV cards
Signed-off-by: Juan Pablo Sormani <sorman@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/common')
-rw-r--r--drivers/media/common/ir-keymaps.c78
1 files changed, 78 insertions, 0 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c
index 4a54a559d81c..8b290204ff6c 100644
--- a/drivers/media/common/ir-keymaps.c
+++ b/drivers/media/common/ir-keymaps.c
@@ -1660,3 +1660,81 @@ IR_KEYTAB_TYPE ir_codes_asus_pc39[IR_KEYTAB_SIZE] = {
1660}; 1660};
1661 1661
1662EXPORT_SYMBOL_GPL(ir_codes_asus_pc39); 1662EXPORT_SYMBOL_GPL(ir_codes_asus_pc39);
1663
1664
1665/* Encore ENLTV-FM - black plastic, white front cover with white glowing buttons
1666 Juan Pablo Sormani <sorman@gmail.com> */
1667IR_KEYTAB_TYPE ir_codes_encore_enltv[IR_KEYTAB_SIZE] = {
1668
1669 /* Power button does nothing, neither in Windows app,
1670 although it sends data (used for BIOS wakeup?) */
1671 [ 0x0d ] = KEY_MUTE,
1672
1673 [ 0x1e ] = KEY_TV,
1674 [ 0x00 ] = KEY_VIDEO,
1675 [ 0x01 ] = KEY_AUDIO, /* music */
1676 [ 0x02 ] = KEY_MHP, /* picture */
1677
1678 [ 0x1f ] = KEY_1,
1679 [ 0x03 ] = KEY_2,
1680 [ 0x04 ] = KEY_3,
1681 [ 0x05 ] = KEY_4,
1682 [ 0x1c ] = KEY_5,
1683 [ 0x06 ] = KEY_6,
1684 [ 0x07 ] = KEY_7,
1685 [ 0x08 ] = KEY_8,
1686 [ 0x1d ] = KEY_9,
1687 [ 0x0a ] = KEY_0,
1688
1689 [ 0x09 ] = KEY_LIST, /* -/-- */
1690 [ 0x0b ] = KEY_LAST, /* recall */
1691
1692 [ 0x14 ] = KEY_HOME, /* win start menu */
1693 [ 0x15 ] = KEY_EXIT, /* exit */
1694 [ 0x16 ] = KEY_UP,
1695 [ 0x12 ] = KEY_DOWN,
1696 [ 0x0c ] = KEY_RIGHT,
1697 [ 0x17 ] = KEY_LEFT,
1698
1699 [ 0x18 ] = KEY_ENTER, /* OK */
1700
1701 [ 0x0e ] = KEY_ESC,
1702 [ 0x13 ] = KEY_D, /* desktop */
1703 [ 0x11 ] = KEY_TAB,
1704 [ 0x19 ] = KEY_SWITCHVIDEOMODE, /* switch */
1705
1706 [ 0x1a ] = KEY_MENU,
1707 [ 0x1b ] = KEY_ZOOM, /* fullscreen */
1708 [ 0x44 ] = KEY_TIME, /* time shift */
1709 [ 0x40 ] = KEY_MODE, /* source */
1710
1711 [ 0x5a ] = KEY_RECORD,
1712 [ 0x42 ] = KEY_PLAY, /* play/pause */
1713 [ 0x45 ] = KEY_STOP,
1714 [ 0x43 ] = KEY_CAMERA, /* camera icon */
1715
1716 [ 0x48 ] = KEY_REWIND,
1717 [ 0x4a ] = KEY_FASTFORWARD,
1718 [ 0x49 ] = KEY_PREVIOUS,
1719 [ 0x4b ] = KEY_NEXT,
1720
1721 [ 0x4c ] = KEY_FAVORITES, /* tv wall */
1722 [ 0x4d ] = KEY_SOUND, /* DVD sound */
1723 [ 0x4e ] = KEY_LANGUAGE, /* DVD lang */
1724 [ 0x4f ] = KEY_TEXT, /* DVD text */
1725
1726 [ 0x50 ] = KEY_SLEEP, /* shutdown */
1727 [ 0x51 ] = KEY_MODE, /* stereo > main */
1728 [ 0x52 ] = KEY_SELECT, /* stereo > sap */
1729 [ 0x53 ] = KEY_PROG1, /* teletext */
1730
1731
1732 [ 0x59 ] = KEY_RED, /* AP1 */
1733 [ 0x41 ] = KEY_GREEN, /* AP2 */
1734 [ 0x47 ] = KEY_YELLOW, /* AP3 */
1735 [ 0x57 ] = KEY_BLUE, /* AP4 */
1736
1737
1738};
1739
1740EXPORT_SYMBOL_GPL(ir_codes_encore_enltv);