1 #include <media/rc-map.h>
2 #include <linux/module.h>
4 static struct rc_map_table twinhan_vp1027
[] = {
6 { 0x17, KEY_FAVORITES
},
25 { 0x13, KEY_BACKSPACE
},
34 { 0x1e, KEY_VOLUMEUP
},
35 { 0x0a, KEY_VOLUMEDOWN
},
36 { 0x02, KEY_CHANNELDOWN
},
37 { 0x05, KEY_CHANNELUP
},
44 { 0x12, KEY_FASTFORWARD
},
45 { 0x41, KEY_PREVIOUSSONG
},
46 { 0x42, KEY_NEXTSONG
},
48 { 0x50, KEY_LANGUAGE
},
51 { 0x43, KEY_SUBTITLE
},
65 static struct rc_map_list twinhan_vp1027_map
= {
67 .scan
= twinhan_vp1027
,
68 .size
= ARRAY_SIZE(twinhan_vp1027
),
69 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
70 .name
= RC_MAP_TWINHAN_VP1027_DVBS
,
74 static int __init
init_rc_map_twinhan_vp1027(void)
76 return rc_map_register(&twinhan_vp1027_map
);
79 static void __exit
exit_rc_map_twinhan_vp1027(void)
81 rc_map_unregister(&twinhan_vp1027_map
);
84 module_init(init_rc_map_twinhan_vp1027
)
85 module_exit(exit_rc_map_twinhan_vp1027
)
87 MODULE_LICENSE("GPL");
88 MODULE_AUTHOR("Sergey Ivanov <123kash@gmail.com>");