diff options
Diffstat (limited to 'drivers/media/common/ir-keymaps.c')
-rw-r--r-- | drivers/media/common/ir-keymaps.c | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c index f6790172736a..a2c80a7a3ae4 100644 --- a/drivers/media/common/ir-keymaps.c +++ b/drivers/media/common/ir-keymaps.c | |||
@@ -2964,6 +2964,46 @@ struct ir_scancode_table ir_codes_dm1105_nec_table = { | |||
2964 | }; | 2964 | }; |
2965 | EXPORT_SYMBOL_GPL(ir_codes_dm1105_nec_table); | 2965 | EXPORT_SYMBOL_GPL(ir_codes_dm1105_nec_table); |
2966 | 2966 | ||
2967 | static struct ir_scancode ir_codes_tbs_nec[] = { | ||
2968 | { 0x04, KEY_POWER2}, /*power*/ | ||
2969 | { 0x14, KEY_MUTE}, /*mute*/ | ||
2970 | { 0x07, KEY_1}, | ||
2971 | { 0x06, KEY_2}, | ||
2972 | { 0x05, KEY_3}, | ||
2973 | { 0x0b, KEY_4}, | ||
2974 | { 0x0a, KEY_5}, | ||
2975 | { 0x09, KEY_6}, | ||
2976 | { 0x0f, KEY_7}, | ||
2977 | { 0x0e, KEY_8}, | ||
2978 | { 0x0d, KEY_9}, | ||
2979 | { 0x12, KEY_0}, | ||
2980 | { 0x16, KEY_CHANNELUP}, /*ch+*/ | ||
2981 | { 0x11, KEY_CHANNELDOWN},/*ch-*/ | ||
2982 | { 0x13, KEY_VOLUMEUP}, /*vol+*/ | ||
2983 | { 0x0c, KEY_VOLUMEDOWN},/*vol-*/ | ||
2984 | { 0x03, KEY_RECORD}, /*rec*/ | ||
2985 | { 0x18, KEY_PAUSE}, /*pause*/ | ||
2986 | { 0x19, KEY_OK}, /*ok*/ | ||
2987 | { 0x1a, KEY_CAMERA}, /* snapshot */ | ||
2988 | { 0x01, KEY_UP}, | ||
2989 | { 0x10, KEY_LEFT}, | ||
2990 | { 0x02, KEY_RIGHT}, | ||
2991 | { 0x08, KEY_DOWN}, | ||
2992 | { 0x15, KEY_FAVORITES}, | ||
2993 | { 0x17, KEY_SUBTITLE}, | ||
2994 | { 0x1d, KEY_ZOOM}, | ||
2995 | { 0x1f, KEY_EXIT}, | ||
2996 | { 0x1e, KEY_MENU}, | ||
2997 | { 0x1c, KEY_EPG}, | ||
2998 | { 0x00, KEY_PREVIOUS}, | ||
2999 | { 0x1b, KEY_MODE}, | ||
3000 | }; | ||
3001 | struct ir_scancode_table ir_codes_tbs_nec_table = { | ||
3002 | .scan = ir_codes_tbs_nec, | ||
3003 | .size = ARRAY_SIZE(ir_codes_tbs_nec), | ||
3004 | }; | ||
3005 | EXPORT_SYMBOL_GPL(ir_codes_tbs_nec_table); | ||
3006 | |||
2967 | /* Terratec Cinergy Hybrid T USB XS | 3007 | /* Terratec Cinergy Hybrid T USB XS |
2968 | Devin Heitmueller <dheitmueller@linuxtv.org> | 3008 | Devin Heitmueller <dheitmueller@linuxtv.org> |
2969 | */ | 3009 | */ |