1 /* pinnacle-color.h - Keytable for pinnacle_color 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 static struct rc_map_table pinnacle_color[] = {
28 { 0x2d, KEY_VOLUMEUP },
29 { 0x1e, KEY_VOLUMEDOWN },
33 { 0x16, KEY_CHANNELUP },
34 { 0x17, KEY_CHANNELDOWN },
43 { 0x07, KEY_REFRESH },
51 { 0x4e, KEY_FORWARD },
52 { 0x53, KEY_PREVIOUS },
67 { 0x74, KEY_CHANNEL },
68 { 0x0a, KEY_BACKSPACE },
71 static struct rc_map_list pinnacle_color_map = {
73 .scan = pinnacle_color,
74 .size = ARRAY_SIZE(pinnacle_color),
75 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
76 .name = RC_MAP_PINNACLE_COLOR,
80 static int __init init_rc_map_pinnacle_color(void)
82 return rc_map_register(&pinnacle_color_map);
85 static void __exit exit_rc_map_pinnacle_color(void)
87 rc_map_unregister(&pinnacle_color_map);
90 module_init(init_rc_map_pinnacle_color)
91 module_exit(exit_rc_map_pinnacle_color)
93 MODULE_LICENSE("GPL");
94 MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");