1 // SPDX-License-Identifier: GPL-2.0+
2 // adstech-dvb-t-pci.h - Keytable for adstech_dvb_t_pci Remote Controller
4 // keymap imported from ir-keymaps.c
6 // Copyright (c) 2010 by Mauro Carvalho Chehab
8 #include <media/rc-map.h>
9 #include <linux/module.h>
11 /* ADS Tech Instant TV DVB-T PCI Remote */
13 static struct rc_map_table adstech_dvb_t_pci
[] = {
30 { 0x17, KEY_EPG
}, /* Guide */
36 { 0x0e, KEY_SELECT
}, /* Enter */
39 { 0x59, KEY_PREVIOUS
},
42 { 0x50, KEY_FORWARD
},
43 { 0x44, KEY_PLAYPAUSE
},
46 { 0x13, KEY_TUNER
}, /* Live */
49 { 0x03, KEY_RED
}, /* 1 */
50 { 0x01, KEY_GREEN
}, /* 2 */
51 { 0x00, KEY_YELLOW
}, /* 3 */
53 { 0x48, KEY_AUX
}, /* Photo */
55 { 0x19, KEY_AUDIO
}, /* Music */
56 { 0x0b, KEY_CHANNELUP
},
57 { 0x08, KEY_CHANNELDOWN
},
58 { 0x15, KEY_VOLUMEUP
},
59 { 0x1c, KEY_VOLUMEDOWN
},
62 static struct rc_map_list adstech_dvb_t_pci_map
= {
64 .scan
= adstech_dvb_t_pci
,
65 .size
= ARRAY_SIZE(adstech_dvb_t_pci
),
66 .rc_proto
= RC_PROTO_UNKNOWN
, /* Legacy IR type */
67 .name
= RC_MAP_ADSTECH_DVB_T_PCI
,
71 static int __init
init_rc_map_adstech_dvb_t_pci(void)
73 return rc_map_register(&adstech_dvb_t_pci_map
);
76 static void __exit
exit_rc_map_adstech_dvb_t_pci(void)
78 rc_map_unregister(&adstech_dvb_t_pci_map
);
81 module_init(init_rc_map_adstech_dvb_t_pci
)
82 module_exit(exit_rc_map_adstech_dvb_t_pci
)
84 MODULE_LICENSE("GPL");
85 MODULE_AUTHOR("Mauro Carvalho Chehab");