V4L/DVB: ir-common: Use a function to declare an IR table
This is the first patch of a series of changes that will break the IR tables into a series of small modules that can be dynamically loaded, or just loaded from userspace. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
d53b213c5c
commit
8b75acb52f
|
@ -106,69 +106,75 @@ void ir_rc5_timer_keyup(unsigned long data);
|
||||||
|
|
||||||
/* scancode->keycode map tables from ir-keymaps.c */
|
/* scancode->keycode map tables from ir-keymaps.c */
|
||||||
|
|
||||||
extern struct ir_scancode_table ir_codes_empty_table;
|
#define IR_KEYTABLE(a) \
|
||||||
extern struct ir_scancode_table ir_codes_avermedia_table;
|
(ir_codes_ ## a ## _table)
|
||||||
extern struct ir_scancode_table ir_codes_avermedia_dvbt_table;
|
|
||||||
extern struct ir_scancode_table ir_codes_avermedia_m135a_rm_jx_table;
|
#define DECLARE_IR_KEYTABLE(a) \
|
||||||
extern struct ir_scancode_table ir_codes_avermedia_cardbus_table;
|
extern struct ir_scancode_table IR_KEYTABLE(a)
|
||||||
extern struct ir_scancode_table ir_codes_apac_viewcomp_table;
|
|
||||||
extern struct ir_scancode_table ir_codes_pixelview_table;
|
DECLARE_IR_KEYTABLE(empty);
|
||||||
extern struct ir_scancode_table ir_codes_pixelview_new_table;
|
DECLARE_IR_KEYTABLE(avermedia);
|
||||||
extern struct ir_scancode_table ir_codes_nebula_table;
|
DECLARE_IR_KEYTABLE(avermedia_dvbt);
|
||||||
extern struct ir_scancode_table ir_codes_dntv_live_dvb_t_table;
|
DECLARE_IR_KEYTABLE(avermedia_m135a_rm_jx);
|
||||||
extern struct ir_scancode_table ir_codes_iodata_bctv7e_table;
|
DECLARE_IR_KEYTABLE(avermedia_cardbus);
|
||||||
extern struct ir_scancode_table ir_codes_adstech_dvb_t_pci_table;
|
DECLARE_IR_KEYTABLE(apac_viewcomp);
|
||||||
extern struct ir_scancode_table ir_codes_msi_tvanywhere_table;
|
DECLARE_IR_KEYTABLE(pixelview);
|
||||||
extern struct ir_scancode_table ir_codes_cinergy_1400_table;
|
DECLARE_IR_KEYTABLE(pixelview_new);
|
||||||
extern struct ir_scancode_table ir_codes_avertv_303_table;
|
DECLARE_IR_KEYTABLE(nebula);
|
||||||
extern struct ir_scancode_table ir_codes_dntv_live_dvbt_pro_table;
|
DECLARE_IR_KEYTABLE(dntv_live_dvb_t);
|
||||||
extern struct ir_scancode_table ir_codes_em_terratec_table;
|
DECLARE_IR_KEYTABLE(iodata_bctv7e);
|
||||||
extern struct ir_scancode_table ir_codes_pinnacle_grey_table;
|
DECLARE_IR_KEYTABLE(adstech_dvb_t_pci);
|
||||||
extern struct ir_scancode_table ir_codes_flyvideo_table;
|
DECLARE_IR_KEYTABLE(msi_tvanywhere);
|
||||||
extern struct ir_scancode_table ir_codes_flydvb_table;
|
DECLARE_IR_KEYTABLE(cinergy_1400);
|
||||||
extern struct ir_scancode_table ir_codes_cinergy_table;
|
DECLARE_IR_KEYTABLE(avertv_303);
|
||||||
extern struct ir_scancode_table ir_codes_eztv_table;
|
DECLARE_IR_KEYTABLE(dntv_live_dvbt_pro);
|
||||||
extern struct ir_scancode_table ir_codes_avermedia_table;
|
DECLARE_IR_KEYTABLE(em_terratec);
|
||||||
extern struct ir_scancode_table ir_codes_videomate_tv_pvr_table;
|
DECLARE_IR_KEYTABLE(pinnacle_grey);
|
||||||
extern struct ir_scancode_table ir_codes_manli_table;
|
DECLARE_IR_KEYTABLE(flyvideo);
|
||||||
extern struct ir_scancode_table ir_codes_gotview7135_table;
|
DECLARE_IR_KEYTABLE(flydvb);
|
||||||
extern struct ir_scancode_table ir_codes_purpletv_table;
|
DECLARE_IR_KEYTABLE(cinergy);
|
||||||
extern struct ir_scancode_table ir_codes_pctv_sedna_table;
|
DECLARE_IR_KEYTABLE(eztv);
|
||||||
extern struct ir_scancode_table ir_codes_pv951_table;
|
DECLARE_IR_KEYTABLE(avermedia);
|
||||||
extern struct ir_scancode_table ir_codes_rc5_tv_table;
|
DECLARE_IR_KEYTABLE(videomate_tv_pvr);
|
||||||
extern struct ir_scancode_table ir_codes_winfast_table;
|
DECLARE_IR_KEYTABLE(manli);
|
||||||
extern struct ir_scancode_table ir_codes_pinnacle_color_table;
|
DECLARE_IR_KEYTABLE(gotview7135);
|
||||||
extern struct ir_scancode_table ir_codes_hauppauge_new_table;
|
DECLARE_IR_KEYTABLE(purpletv);
|
||||||
extern struct ir_scancode_table ir_codes_rc5_hauppauge_new_table;
|
DECLARE_IR_KEYTABLE(pctv_sedna);
|
||||||
extern struct ir_scancode_table ir_codes_npgtech_table;
|
DECLARE_IR_KEYTABLE(pv951);
|
||||||
extern struct ir_scancode_table ir_codes_norwood_table;
|
DECLARE_IR_KEYTABLE(rc5_tv);
|
||||||
extern struct ir_scancode_table ir_codes_proteus_2309_table;
|
DECLARE_IR_KEYTABLE(winfast);
|
||||||
extern struct ir_scancode_table ir_codes_budget_ci_old_table;
|
DECLARE_IR_KEYTABLE(pinnacle_color);
|
||||||
extern struct ir_scancode_table ir_codes_asus_pc39_table;
|
DECLARE_IR_KEYTABLE(hauppauge_new);
|
||||||
extern struct ir_scancode_table ir_codes_encore_enltv_table;
|
DECLARE_IR_KEYTABLE(rc5_hauppauge_new);
|
||||||
extern struct ir_scancode_table ir_codes_encore_enltv2_table;
|
DECLARE_IR_KEYTABLE(npgtech);
|
||||||
extern struct ir_scancode_table ir_codes_tt_1500_table;
|
DECLARE_IR_KEYTABLE(norwood);
|
||||||
extern struct ir_scancode_table ir_codes_fusionhdtv_mce_table;
|
DECLARE_IR_KEYTABLE(proteus_2309);
|
||||||
extern struct ir_scancode_table ir_codes_behold_table;
|
DECLARE_IR_KEYTABLE(budget_ci_old);
|
||||||
extern struct ir_scancode_table ir_codes_behold_columbus_table;
|
DECLARE_IR_KEYTABLE(asus_pc39);
|
||||||
extern struct ir_scancode_table ir_codes_pinnacle_pctv_hd_table;
|
DECLARE_IR_KEYTABLE(encore_enltv);
|
||||||
extern struct ir_scancode_table ir_codes_genius_tvgo_a11mce_table;
|
DECLARE_IR_KEYTABLE(encore_enltv2);
|
||||||
extern struct ir_scancode_table ir_codes_powercolor_real_angel_table;
|
DECLARE_IR_KEYTABLE(tt_1500);
|
||||||
extern struct ir_scancode_table ir_codes_avermedia_a16d_table;
|
DECLARE_IR_KEYTABLE(fusionhdtv_mce);
|
||||||
extern struct ir_scancode_table ir_codes_encore_enltv_fm53_table;
|
DECLARE_IR_KEYTABLE(behold);
|
||||||
extern struct ir_scancode_table ir_codes_real_audio_220_32_keys_table;
|
DECLARE_IR_KEYTABLE(behold_columbus);
|
||||||
extern struct ir_scancode_table ir_codes_msi_tvanywhere_plus_table;
|
DECLARE_IR_KEYTABLE(pinnacle_pctv_hd);
|
||||||
extern struct ir_scancode_table ir_codes_ati_tv_wonder_hd_600_table;
|
DECLARE_IR_KEYTABLE(genius_tvgo_a11mce);
|
||||||
extern struct ir_scancode_table ir_codes_kworld_plus_tv_analog_table;
|
DECLARE_IR_KEYTABLE(powercolor_real_angel);
|
||||||
extern struct ir_scancode_table ir_codes_kaiomy_table;
|
DECLARE_IR_KEYTABLE(avermedia_a16d);
|
||||||
extern struct ir_scancode_table ir_codes_dm1105_nec_table;
|
DECLARE_IR_KEYTABLE(encore_enltv_fm53);
|
||||||
extern struct ir_scancode_table ir_codes_tevii_nec_table;
|
DECLARE_IR_KEYTABLE(real_audio_220_32_keys);
|
||||||
extern struct ir_scancode_table ir_codes_tbs_nec_table;
|
DECLARE_IR_KEYTABLE(msi_tvanywhere_plus);
|
||||||
extern struct ir_scancode_table ir_codes_evga_indtube_table;
|
DECLARE_IR_KEYTABLE(ati_tv_wonder_hd_600);
|
||||||
extern struct ir_scancode_table ir_codes_terratec_cinergy_xs_table;
|
DECLARE_IR_KEYTABLE(kworld_plus_tv_analog);
|
||||||
extern struct ir_scancode_table ir_codes_videomate_s350_table;
|
DECLARE_IR_KEYTABLE(kaiomy);
|
||||||
extern struct ir_scancode_table ir_codes_gadmei_rm008z_table;
|
DECLARE_IR_KEYTABLE(dm1105_nec);
|
||||||
extern struct ir_scancode_table ir_codes_nec_terratec_cinergy_xs_table;
|
DECLARE_IR_KEYTABLE(tevii_nec);
|
||||||
extern struct ir_scancode_table ir_codes_winfast_usbii_deluxe_table;
|
DECLARE_IR_KEYTABLE(tbs_nec);
|
||||||
extern struct ir_scancode_table ir_codes_kworld_315u_table;
|
DECLARE_IR_KEYTABLE(evga_indtube);
|
||||||
|
DECLARE_IR_KEYTABLE(terratec_cinergy_xs);
|
||||||
|
DECLARE_IR_KEYTABLE(videomate_s350);
|
||||||
|
DECLARE_IR_KEYTABLE(gadmei_rm008z);
|
||||||
|
DECLARE_IR_KEYTABLE(nec_terratec_cinergy_xs);
|
||||||
|
DECLARE_IR_KEYTABLE(winfast_usbii_deluxe);
|
||||||
|
DECLARE_IR_KEYTABLE(kworld_315u);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue