1 #include <media/rc-map.h>
3 static struct ir_scancode 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_keymap twinhan_vp1027_map = {
66 .scan = twinhan_vp1027,
67 .size = ARRAY_SIZE(twinhan_vp1027),
68 .ir_type = IR_TYPE_UNKNOWN, /* Legacy IR type */
69 .name = RC_MAP_TWINHAN_VP1027_DVBS,
73 static int __init init_rc_map_twinhan_vp1027(void)
75 return ir_register_map(&twinhan_vp1027_map);
78 static void __exit exit_rc_map_twinhan_vp1027(void)
80 ir_unregister_map(&twinhan_vp1027_map);
83 module_init(init_rc_map_twinhan_vp1027)
84 module_exit(exit_rc_map_twinhan_vp1027)
86 MODULE_LICENSE("GPL");
87 MODULE_AUTHOR("Sergey Ivanov <123kash@gmail.com>");