1 /* pinnacle-pctv-hd.h - Keytable for pinnacle_pctv_hd Remote Controller
3 * keymap imported from ir-keymaps.c
5 * Copyright (c) 2010 by Mauro Carvalho Chehab <mchehab@redhat.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
13 #include <media/rc-map.h>
15 /* Pinnacle PCTV HD 800i mini remote */
17 static struct rc_map_table pinnacle_pctv_hd
[] = {
31 { 0x2a, KEY_SUBTITLE
},
34 { 0x01, KEY_ENTER
}, /* Pinnacle Logo */
37 { 0x03, KEY_VOLUMEUP
},
38 { 0x09, KEY_VOLUMEDOWN
},
39 { 0x06, KEY_CHANNELUP
},
40 { 0x0c, KEY_CHANNELDOWN
},
43 { 0x30, KEY_PLAYPAUSE
},
44 { 0x33, KEY_FASTFORWARD
},
47 { 0x3f, KEY_EPG
}, /* Labeled "?" */
50 static struct rc_map_list pinnacle_pctv_hd_map
= {
52 .scan
= pinnacle_pctv_hd
,
53 .size
= ARRAY_SIZE(pinnacle_pctv_hd
),
54 .rc_type
= RC_TYPE_UNKNOWN
, /* Legacy IR type */
55 .name
= RC_MAP_PINNACLE_PCTV_HD
,
59 static int __init
init_rc_map_pinnacle_pctv_hd(void)
61 return rc_map_register(&pinnacle_pctv_hd_map
);
64 static void __exit
exit_rc_map_pinnacle_pctv_hd(void)
66 rc_map_unregister(&pinnacle_pctv_hd_map
);
69 module_init(init_rc_map_pinnacle_pctv_hd
)
70 module_exit(exit_rc_map_pinnacle_pctv_hd
)
72 MODULE_LICENSE("GPL");
73 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");