0001
0002
0003
0004
0005
0006
0007
0008 #include <media/rc-map.h>
0009 #include <linux/module.h>
0010
0011
0012
0013
0014
0015 static struct rc_map_table ati_tv_wonder_hd_600[] = {
0016 { 0x00, KEY_RECORD},
0017 { 0x01, KEY_PLAYPAUSE},
0018 { 0x02, KEY_STOP},
0019 { 0x03, KEY_POWER},
0020 { 0x04, KEY_PREVIOUS},
0021 { 0x05, KEY_REWIND},
0022 { 0x06, KEY_FORWARD},
0023 { 0x07, KEY_NEXT},
0024 { 0x08, KEY_EPG},
0025 { 0x09, KEY_HOME},
0026 { 0x0a, KEY_MENU},
0027 { 0x0b, KEY_CHANNELUP},
0028 { 0x0c, KEY_BACK},
0029 { 0x0d, KEY_UP},
0030 { 0x0e, KEY_INFO},
0031 { 0x0f, KEY_CHANNELDOWN},
0032 { 0x10, KEY_LEFT},
0033 { 0x11, KEY_SELECT},
0034 { 0x12, KEY_RIGHT},
0035 { 0x13, KEY_VOLUMEUP},
0036 { 0x14, KEY_LAST},
0037 { 0x15, KEY_DOWN},
0038 { 0x16, KEY_MUTE},
0039 { 0x17, KEY_VOLUMEDOWN},
0040 };
0041
0042 static struct rc_map_list ati_tv_wonder_hd_600_map = {
0043 .map = {
0044 .scan = ati_tv_wonder_hd_600,
0045 .size = ARRAY_SIZE(ati_tv_wonder_hd_600),
0046 .rc_proto = RC_PROTO_UNKNOWN,
0047 .name = RC_MAP_ATI_TV_WONDER_HD_600,
0048 }
0049 };
0050
0051 static int __init init_rc_map_ati_tv_wonder_hd_600(void)
0052 {
0053 return rc_map_register(&ati_tv_wonder_hd_600_map);
0054 }
0055
0056 static void __exit exit_rc_map_ati_tv_wonder_hd_600(void)
0057 {
0058 rc_map_unregister(&ati_tv_wonder_hd_600_map);
0059 }
0060
0061 module_init(init_rc_map_ati_tv_wonder_hd_600)
0062 module_exit(exit_rc_map_ati_tv_wonder_hd_600)
0063
0064 MODULE_LICENSE("GPL");
0065 MODULE_AUTHOR("Mauro Carvalho Chehab");