diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/media/ir-common.h | 42 |
1 files changed, 35 insertions, 7 deletions
diff --git a/include/media/ir-common.h b/include/media/ir-common.h index ad3e9bb670c3..50fe522bad33 100644 --- a/include/media/ir-common.h +++ b/include/media/ir-common.h | |||
@@ -47,13 +47,6 @@ struct ir_input_state { | |||
47 | int keypressed; /* current state */ | 47 | int keypressed; /* current state */ |
48 | }; | 48 | }; |
49 | 49 | ||
50 | extern IR_KEYTAB_TYPE ir_codes_rc5_tv[IR_KEYTAB_SIZE]; | ||
51 | extern IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE]; | ||
52 | extern IR_KEYTAB_TYPE ir_codes_pinnacle[IR_KEYTAB_SIZE]; | ||
53 | extern IR_KEYTAB_TYPE ir_codes_empty[IR_KEYTAB_SIZE]; | ||
54 | extern IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE]; | ||
55 | extern IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE]; | ||
56 | |||
57 | void ir_input_init(struct input_dev *dev, struct ir_input_state *ir, | 50 | void ir_input_init(struct input_dev *dev, struct ir_input_state *ir, |
58 | int ir_type, IR_KEYTAB_TYPE *ir_codes); | 51 | int ir_type, IR_KEYTAB_TYPE *ir_codes); |
59 | void ir_input_nokey(struct input_dev *dev, struct ir_input_state *ir); | 52 | void ir_input_nokey(struct input_dev *dev, struct ir_input_state *ir); |
@@ -64,6 +57,41 @@ int ir_dump_samples(u32 *samples, int count); | |||
64 | int ir_decode_biphase(u32 *samples, int count, int low, int high); | 57 | int ir_decode_biphase(u32 *samples, int count, int low, int high); |
65 | int ir_decode_pulsedistance(u32 *samples, int count, int low, int high); | 58 | int ir_decode_pulsedistance(u32 *samples, int count, int low, int high); |
66 | 59 | ||
60 | /* Keymaps to be used by other modules */ | ||
61 | |||
62 | extern IR_KEYTAB_TYPE ir_codes_empty[IR_KEYTAB_SIZE]; | ||
63 | extern IR_KEYTAB_TYPE ir_codes_avermedia[IR_KEYTAB_SIZE]; | ||
64 | extern IR_KEYTAB_TYPE ir_codes_avermedia_dvbt[IR_KEYTAB_SIZE]; | ||
65 | extern IR_KEYTAB_TYPE ir_codes_apac_viewcomp[IR_KEYTAB_SIZE]; | ||
66 | extern IR_KEYTAB_TYPE ir_codes_conceptronic[IR_KEYTAB_SIZE]; | ||
67 | extern IR_KEYTAB_TYPE ir_codes_nebula[IR_KEYTAB_SIZE]; | ||
68 | extern IR_KEYTAB_TYPE ir_codes_dntv_live_dvb_t[IR_KEYTAB_SIZE]; | ||
69 | extern IR_KEYTAB_TYPE ir_codes_iodata_bctv7e[IR_KEYTAB_SIZE]; | ||
70 | extern IR_KEYTAB_TYPE ir_codes_adstech_dvb_t_pci[IR_KEYTAB_SIZE]; | ||
71 | extern IR_KEYTAB_TYPE ir_codes_msi_tvanywhere[IR_KEYTAB_SIZE]; | ||
72 | extern IR_KEYTAB_TYPE ir_codes_cinergy_1400[IR_KEYTAB_SIZE]; | ||
73 | extern IR_KEYTAB_TYPE ir_codes_avertv_303[IR_KEYTAB_SIZE]; | ||
74 | extern IR_KEYTAB_TYPE ir_codes_dntv_live_dvbt_pro[IR_KEYTAB_SIZE]; | ||
75 | extern IR_KEYTAB_TYPE ir_codes_em_terratec[IR_KEYTAB_SIZE]; | ||
76 | extern IR_KEYTAB_TYPE ir_codes_em_pinnacle_usb[IR_KEYTAB_SIZE]; | ||
77 | extern IR_KEYTAB_TYPE ir_codes_flyvideo[IR_KEYTAB_SIZE]; | ||
78 | extern IR_KEYTAB_TYPE ir_codes_flydvb[IR_KEYTAB_SIZE]; | ||
79 | extern IR_KEYTAB_TYPE ir_codes_cinergy[IR_KEYTAB_SIZE]; | ||
80 | extern IR_KEYTAB_TYPE ir_codes_eztv[IR_KEYTAB_SIZE]; | ||
81 | extern IR_KEYTAB_TYPE ir_codes_avacssmart[IR_KEYTAB_SIZE]; | ||
82 | extern IR_KEYTAB_TYPE ir_codes_md2819[IR_KEYTAB_SIZE]; | ||
83 | extern IR_KEYTAB_TYPE ir_codes_videomate_tv_pvr[IR_KEYTAB_SIZE]; | ||
84 | extern IR_KEYTAB_TYPE ir_codes_manli[IR_KEYTAB_SIZE]; | ||
85 | extern IR_KEYTAB_TYPE ir_codes_gotview7135[IR_KEYTAB_SIZE]; | ||
86 | extern IR_KEYTAB_TYPE ir_codes_purpletv[IR_KEYTAB_SIZE]; | ||
87 | extern IR_KEYTAB_TYPE ir_codes_pctv_sedna[IR_KEYTAB_SIZE]; | ||
88 | extern IR_KEYTAB_TYPE ir_codes_pv951[IR_KEYTAB_SIZE]; | ||
89 | extern IR_KEYTAB_TYPE ir_codes_rc5_tv[IR_KEYTAB_SIZE]; | ||
90 | extern IR_KEYTAB_TYPE ir_codes_winfast[IR_KEYTAB_SIZE]; | ||
91 | extern IR_KEYTAB_TYPE ir_codes_pinnacle[IR_KEYTAB_SIZE]; | ||
92 | extern IR_KEYTAB_TYPE ir_codes_hauppauge_new[IR_KEYTAB_SIZE]; | ||
93 | extern IR_KEYTAB_TYPE ir_codes_pixelview[IR_KEYTAB_SIZE]; | ||
94 | |||
67 | #endif | 95 | #endif |
68 | 96 | ||
69 | /* | 97 | /* |