aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/common/ir-keymaps.c55
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c2
-rw-r--r--include/media/ir-common.h1
3 files changed, 58 insertions, 0 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c
index 4216328552f6..58d3e54db5a5 100644
--- a/drivers/media/common/ir-keymaps.c
+++ b/drivers/media/common/ir-keymaps.c
@@ -2751,6 +2751,61 @@ IR_KEYTAB_TYPE ir_codes_dm1105_nec[IR_KEYTAB_SIZE] = {
2751}; 2751};
2752EXPORT_SYMBOL_GPL(ir_codes_dm1105_nec); 2752EXPORT_SYMBOL_GPL(ir_codes_dm1105_nec);
2753 2753
2754
2755/* Terratec Cinergy Hybrid T USB XS
2756 Devin Heitmueller <dheitmueller@linuxtv.org>
2757 */
2758IR_KEYTAB_TYPE ir_codes_terratec_cinergy_xs[IR_KEYTAB_SIZE] = {
2759 [0x41] = KEY_HOME,
2760 [0x01] = KEY_POWER,
2761 [0x42] = KEY_MENU,
2762 [0x02] = KEY_1,
2763 [0x03] = KEY_2,
2764 [0x04] = KEY_3,
2765 [0x43] = KEY_SUBTITLE,
2766 [0x05] = KEY_4,
2767 [0x06] = KEY_5,
2768 [0x07] = KEY_6,
2769 [0x44] = KEY_TEXT,
2770 [0x08] = KEY_7,
2771 [0x09] = KEY_8,
2772 [0x0a] = KEY_9,
2773 [0x45] = KEY_DELETE,
2774 [0x0b] = KEY_TUNER,
2775 [0x0c] = KEY_0,
2776 [0x0d] = KEY_MODE,
2777 [0x46] = KEY_TV,
2778 [0x47] = KEY_DVD,
2779 [0x49] = KEY_VIDEO,
2780 [0x4b] = KEY_AUX,
2781 [0x10] = KEY_UP,
2782 [0x11] = KEY_LEFT,
2783 [0x12] = KEY_OK,
2784 [0x13] = KEY_RIGHT,
2785 [0x14] = KEY_DOWN,
2786 [0x0f] = KEY_EPG,
2787 [0x16] = KEY_INFO,
2788 [0x4d] = KEY_BACKSPACE,
2789 [0x1c] = KEY_VOLUMEUP,
2790 [0x4c] = KEY_PLAY,
2791 [0x1b] = KEY_CHANNELUP,
2792 [0x1e] = KEY_VOLUMEDOWN,
2793 [0x1d] = KEY_MUTE,
2794 [0x1f] = KEY_CHANNELDOWN,
2795 [0x17] = KEY_RED,
2796 [0x18] = KEY_GREEN,
2797 [0x19] = KEY_YELLOW,
2798 [0x1a] = KEY_BLUE,
2799 [0x58] = KEY_RECORD,
2800 [0x48] = KEY_STOP,
2801 [0x40] = KEY_PAUSE,
2802 [0x54] = KEY_LAST,
2803 [0x4e] = KEY_REWIND,
2804 [0x4f] = KEY_FASTFORWARD,
2805 [0x5c] = KEY_NEXT,
2806};
2807EXPORT_SYMBOL_GPL(ir_codes_terratec_cinergy_xs);
2808
2754/* EVGA inDtube 2809/* EVGA inDtube
2755 Devin Heitmueller <devin.heitmueller@gmail.com> 2810 Devin Heitmueller <devin.heitmueller@gmail.com>
2756 */ 2811 */
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index 02e24411b134..66c377683708 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -870,6 +870,8 @@ struct em28xx_board em28xx_boards[] = {
870 .decoder = EM28XX_TVP5150, 870 .decoder = EM28XX_TVP5150,
871 .has_dvb = 1, 871 .has_dvb = 1,
872 .dvb_gpio = default_digital, 872 .dvb_gpio = default_digital,
873 .ir_codes = ir_codes_terratec_cinergy_xs,
874 .xclk = EM28XX_XCLK_FREQUENCY_12MHZ, /* NEC IR */
873 .input = { { 875 .input = { {
874 .type = EM28XX_VMUX_TELEVISION, 876 .type = EM28XX_VMUX_TELEVISION,
875 .vmux = TVP5150_COMPOSITE0, 877 .vmux = TVP5150_COMPOSITE0,
diff --git a/include/media/ir-common.h b/include/media/ir-common.h
index 9dcb632f6083..922bad37deec 100644
--- a/include/media/ir-common.h
+++ b/include/media/ir-common.h
@@ -163,6 +163,7 @@ extern IR_KEYTAB_TYPE ir_codes_kworld_plus_tv_analog[IR_KEYTAB_SIZE];
163extern IR_KEYTAB_TYPE ir_codes_kaiomy[IR_KEYTAB_SIZE]; 163extern IR_KEYTAB_TYPE ir_codes_kaiomy[IR_KEYTAB_SIZE];
164extern IR_KEYTAB_TYPE ir_codes_dm1105_nec[IR_KEYTAB_SIZE]; 164extern IR_KEYTAB_TYPE ir_codes_dm1105_nec[IR_KEYTAB_SIZE];
165extern IR_KEYTAB_TYPE ir_codes_evga_indtube[IR_KEYTAB_SIZE]; 165extern IR_KEYTAB_TYPE ir_codes_evga_indtube[IR_KEYTAB_SIZE];
166extern IR_KEYTAB_TYPE ir_codes_terratec_cinergy_xs[IR_KEYTAB_SIZE];
166 167
167#endif 168#endif
168 169