1 /* adstech-dvb-t-pci.h - Keytable for adstech_dvb_t_pci Remote Controller
3 * keymap imported from ir-keymaps.c
5 * Copyright (c) 2010 by Mauro Carvalho Chehab <mchehab@redhat.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
13 #include <media/rc-map.h>
14 #include <linux/module.h>
16 /* ADS Tech Instant TV DVB-T PCI Remote */
18 static struct rc_map_table adstech_dvb_t_pci
[] = {
35 { 0x17, KEY_EPG
}, /* Guide */
41 { 0x0e, KEY_SELECT
}, /* Enter */
44 { 0x59, KEY_PREVIOUS
},
47 { 0x50, KEY_FORWARD
},
48 { 0x44, KEY_PLAYPAUSE
},
51 { 0x13, KEY_TUNER
}, /* Live */
54 { 0x03, KEY_RED
}, /* 1 */
55 { 0x01, KEY_GREEN
}, /* 2 */
56 { 0x00, KEY_YELLOW
}, /* 3 */
58 { 0x48, KEY_AUX
}, /* Photo */
60 { 0x19, KEY_AUDIO
}, /* Music */
61 { 0x0b, KEY_CHANNELUP
},
62 { 0x08, KEY_CHANNELDOWN
},
63 { 0x15, KEY_VOLUMEUP
},
64 { 0x1c, KEY_VOLUMEDOWN
},
67 static struct rc_map_list adstech_dvb_t_pci_map
= {
69 .scan
= adstech_dvb_t_pci
,
70 .size
= ARRAY_SIZE(adstech_dvb_t_pci
),
71 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
72 .name
= RC_MAP_ADSTECH_DVB_T_PCI
,
76 static int __init
init_rc_map_adstech_dvb_t_pci(void)
78 return rc_map_register(&adstech_dvb_t_pci_map
);
81 static void __exit
exit_rc_map_adstech_dvb_t_pci(void)
83 rc_map_unregister(&adstech_dvb_t_pci_map
);
86 module_init(init_rc_map_adstech_dvb_t_pci
)
87 module_exit(exit_rc_map_adstech_dvb_t_pci
)
89 MODULE_LICENSE("GPL");
90 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");