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>
15 /* ADS Tech Instant TV DVB-T PCI Remote */
17 static struct rc_map_table adstech_dvb_t_pci
[] = {
34 { 0x17, KEY_EPG
}, /* Guide */
40 { 0x0e, KEY_SELECT
}, /* Enter */
43 { 0x59, KEY_PREVIOUS
},
46 { 0x50, KEY_FORWARD
},
47 { 0x44, KEY_PLAYPAUSE
},
50 { 0x13, KEY_TUNER
}, /* Live */
53 { 0x03, KEY_RED
}, /* 1 */
54 { 0x01, KEY_GREEN
}, /* 2 */
55 { 0x00, KEY_YELLOW
}, /* 3 */
57 { 0x48, KEY_AUX
}, /* Photo */
59 { 0x19, KEY_AUDIO
}, /* Music */
60 { 0x0b, KEY_CHANNELUP
},
61 { 0x08, KEY_CHANNELDOWN
},
62 { 0x15, KEY_VOLUMEUP
},
63 { 0x1c, KEY_VOLUMEDOWN
},
66 static struct rc_map_list adstech_dvb_t_pci_map
= {
68 .scan
= adstech_dvb_t_pci
,
69 .size
= ARRAY_SIZE(adstech_dvb_t_pci
),
70 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
71 .name
= RC_MAP_ADSTECH_DVB_T_PCI
,
75 static int __init
init_rc_map_adstech_dvb_t_pci(void)
77 return rc_map_register(&adstech_dvb_t_pci_map
);
80 static void __exit
exit_rc_map_adstech_dvb_t_pci(void)
82 rc_map_unregister(&adstech_dvb_t_pci_map
);
85 module_init(init_rc_map_adstech_dvb_t_pci
)
86 module_exit(exit_rc_map_adstech_dvb_t_pci
)
88 MODULE_LICENSE("GPL");
89 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");