Merge tag 'perf-core-for-mingo-20160803' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git] / drivers / media / rc / keymaps / rc-pinnacle-color.c
CommitLineData
6686fa69
MCC
1/* pinnacle-color.h - Keytable for pinnacle_color Remote Controller
2 *
3 * keymap imported from ir-keymaps.c
4 *
37e59f87 5 * Copyright (c) 2010 by Mauro Carvalho Chehab
6686fa69
MCC
6 *
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.
11 */
12
13#include <media/rc-map.h>
7a707b89 14#include <linux/module.h>
6686fa69 15
2f4f58d6 16static struct rc_map_table pinnacle_color[] = {
6686fa69
MCC
17 { 0x59, KEY_MUTE },
18 { 0x4a, KEY_POWER },
19
20 { 0x18, KEY_TEXT },
21 { 0x26, KEY_TV },
22 { 0x3d, KEY_PRINT },
23
24 { 0x48, KEY_RED },
25 { 0x04, KEY_GREEN },
26 { 0x11, KEY_YELLOW },
27 { 0x00, KEY_BLUE },
28
29 { 0x2d, KEY_VOLUMEUP },
30 { 0x1e, KEY_VOLUMEDOWN },
31
32 { 0x49, KEY_MENU },
33
34 { 0x16, KEY_CHANNELUP },
35 { 0x17, KEY_CHANNELDOWN },
36
37 { 0x20, KEY_UP },
38 { 0x21, KEY_DOWN },
39 { 0x22, KEY_LEFT },
40 { 0x23, KEY_RIGHT },
41 { 0x0d, KEY_SELECT },
42
43 { 0x08, KEY_BACK },
44 { 0x07, KEY_REFRESH },
45
46 { 0x2f, KEY_ZOOM },
47 { 0x29, KEY_RECORD },
48
49 { 0x4b, KEY_PAUSE },
50 { 0x4d, KEY_REWIND },
51 { 0x2e, KEY_PLAY },
52 { 0x4e, KEY_FORWARD },
53 { 0x53, KEY_PREVIOUS },
54 { 0x4c, KEY_STOP },
55 { 0x54, KEY_NEXT },
56
57 { 0x69, KEY_0 },
58 { 0x6a, KEY_1 },
59 { 0x6b, KEY_2 },
60 { 0x6c, KEY_3 },
61 { 0x6d, KEY_4 },
62 { 0x6e, KEY_5 },
63 { 0x6f, KEY_6 },
64 { 0x70, KEY_7 },
65 { 0x71, KEY_8 },
66 { 0x72, KEY_9 },
67
68 { 0x74, KEY_CHANNEL },
69 { 0x0a, KEY_BACKSPACE },
70};
71
d100e659 72static struct rc_map_list pinnacle_color_map = {
6686fa69
MCC
73 .map = {
74 .scan = pinnacle_color,
75 .size = ARRAY_SIZE(pinnacle_color),
52b66144 76 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
6686fa69
MCC
77 .name = RC_MAP_PINNACLE_COLOR,
78 }
79};
80
81static int __init init_rc_map_pinnacle_color(void)
82{
d100e659 83 return rc_map_register(&pinnacle_color_map);
6686fa69
MCC
84}
85
86static void __exit exit_rc_map_pinnacle_color(void)
87{
d100e659 88 rc_map_unregister(&pinnacle_color_map);
6686fa69
MCC
89}
90
91module_init(init_rc_map_pinnacle_color)
92module_exit(exit_rc_map_pinnacle_color)
93
94MODULE_LICENSE("GPL");
37e59f87 95MODULE_AUTHOR("Mauro Carvalho Chehab");
This page took 0.529521 seconds and 5 git commands to generate.