V4L/DVB: ir-core: Make use of the new IR keymap modules
[safe/jmp/linux-2.6] / include / media / keycodes / pinnacle-color.h
1 /* pinnacle-color.h - Keytable for pinnacle_color Remote Controller
2  *
3  * Imported from ir-keymaps.c
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  */
10
11
12 #ifdef IR_KEYMAPS
13 static struct ir_scancode pinnacle_color[] = {
14         { 0x59, KEY_MUTE },
15         { 0x4a, KEY_POWER },
16
17         { 0x18, KEY_TEXT },
18         { 0x26, KEY_TV },
19         { 0x3d, KEY_PRINT },
20
21         { 0x48, KEY_RED },
22         { 0x04, KEY_GREEN },
23         { 0x11, KEY_YELLOW },
24         { 0x00, KEY_BLUE },
25
26         { 0x2d, KEY_VOLUMEUP },
27         { 0x1e, KEY_VOLUMEDOWN },
28
29         { 0x49, KEY_MENU },
30
31         { 0x16, KEY_CHANNELUP },
32         { 0x17, KEY_CHANNELDOWN },
33
34         { 0x20, KEY_UP },
35         { 0x21, KEY_DOWN },
36         { 0x22, KEY_LEFT },
37         { 0x23, KEY_RIGHT },
38         { 0x0d, KEY_SELECT },
39
40         { 0x08, KEY_BACK },
41         { 0x07, KEY_REFRESH },
42
43         { 0x2f, KEY_ZOOM },
44         { 0x29, KEY_RECORD },
45
46         { 0x4b, KEY_PAUSE },
47         { 0x4d, KEY_REWIND },
48         { 0x2e, KEY_PLAY },
49         { 0x4e, KEY_FORWARD },
50         { 0x53, KEY_PREVIOUS },
51         { 0x4c, KEY_STOP },
52         { 0x54, KEY_NEXT },
53
54         { 0x69, KEY_0 },
55         { 0x6a, KEY_1 },
56         { 0x6b, KEY_2 },
57         { 0x6c, KEY_3 },
58         { 0x6d, KEY_4 },
59         { 0x6e, KEY_5 },
60         { 0x6f, KEY_6 },
61         { 0x70, KEY_7 },
62         { 0x71, KEY_8 },
63         { 0x72, KEY_9 },
64
65         { 0x74, KEY_CHANNEL },
66         { 0x0a, KEY_BACKSPACE },
67 };
68 DEFINE_LEGACY_IR_KEYTABLE(pinnacle_color);
69 #else
70 DECLARE_IR_KEYTABLE(pinnacle_color);
71 #endif