This source file includes following definitions.
- init_rc_map_ati_tv_wonder_hd_600
- exit_rc_map_ati_tv_wonder_hd_600
1
2
3
4
5
6
7
8 #include <media/rc-map.h>
9 #include <linux/module.h>
10
11
12
13
14
15 static struct rc_map_table ati_tv_wonder_hd_600[] = {
16 { 0x00, KEY_RECORD},
17 { 0x01, KEY_PLAYPAUSE},
18 { 0x02, KEY_STOP},
19 { 0x03, KEY_POWER},
20 { 0x04, KEY_PREVIOUS},
21 { 0x05, KEY_REWIND},
22 { 0x06, KEY_FORWARD},
23 { 0x07, KEY_NEXT},
24 { 0x08, KEY_EPG},
25 { 0x09, KEY_HOME},
26 { 0x0a, KEY_MENU},
27 { 0x0b, KEY_CHANNELUP},
28 { 0x0c, KEY_BACK},
29 { 0x0d, KEY_UP},
30 { 0x0e, KEY_INFO},
31 { 0x0f, KEY_CHANNELDOWN},
32 { 0x10, KEY_LEFT},
33 { 0x11, KEY_SELECT},
34 { 0x12, KEY_RIGHT},
35 { 0x13, KEY_VOLUMEUP},
36 { 0x14, KEY_LAST},
37 { 0x15, KEY_DOWN},
38 { 0x16, KEY_MUTE},
39 { 0x17, KEY_VOLUMEDOWN},
40 };
41
42 static struct rc_map_list ati_tv_wonder_hd_600_map = {
43 .map = {
44 .scan = ati_tv_wonder_hd_600,
45 .size = ARRAY_SIZE(ati_tv_wonder_hd_600),
46 .rc_proto = RC_PROTO_UNKNOWN,
47 .name = RC_MAP_ATI_TV_WONDER_HD_600,
48 }
49 };
50
51 static int __init init_rc_map_ati_tv_wonder_hd_600(void)
52 {
53 return rc_map_register(&ati_tv_wonder_hd_600_map);
54 }
55
56 static void __exit exit_rc_map_ati_tv_wonder_hd_600(void)
57 {
58 rc_map_unregister(&ati_tv_wonder_hd_600_map);
59 }
60
61 module_init(init_rc_map_ati_tv_wonder_hd_600)
62 module_exit(exit_rc_map_ati_tv_wonder_hd_600)
63
64 MODULE_LICENSE("GPL");
65 MODULE_AUTHOR("Mauro Carvalho Chehab");