1 #include <media/rc-map.h>
3 static struct rc_map_table twinhan_vp1027[] = {
5 { 0x17, KEY_FAVORITES },
24 { 0x13, KEY_BACKSPACE },
33 { 0x1e, KEY_VOLUMEUP },
34 { 0x0a, KEY_VOLUMEDOWN },
35 { 0x02, KEY_CHANNELDOWN },
36 { 0x05, KEY_CHANNELUP },
43 { 0x12, KEY_FASTFORWARD },
44 { 0x41, KEY_PREVIOUSSONG },
45 { 0x42, KEY_NEXTSONG },
47 { 0x50, KEY_LANGUAGE },
50 { 0x43, KEY_SUBTITLE },
64 static struct rc_map_list twinhan_vp1027_map = {
66 .scan = twinhan_vp1027,
67 .size = ARRAY_SIZE(twinhan_vp1027),
68 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
69 .name = RC_MAP_TWINHAN_VP1027_DVBS,
73 static int __init init_rc_map_twinhan_vp1027(void)
75 return rc_map_register(&twinhan_vp1027_map);
78 static void __exit exit_rc_map_twinhan_vp1027(void)
80 rc_map_unregister(&twinhan_vp1027_map);
83 module_init(init_rc_map_twinhan_vp1027)
84 module_exit(exit_rc_map_twinhan_vp1027)
86 MODULE_LICENSE("GPL");